r/ExcelPowerQuery • u/sawveld • Jul 06 '25
Function mcode repository
I’m been trying to use a centralized code depository for my M code. My office environment restricts add in pluggable code and I had to do a roundabout VBA solution that takes the text of the code from a column and imports it into any workbook that I run the VBA code also in my environment, I’m not able to run VBA code or store it. I have to copy and paste the code every time I open a new workbook. Has anybody else encountered this and what was your solution?
4
Upvotes
View all comments
Show parent comment
1
u/Autistic_Jimmy2251 Jul 09 '25
WOW!
My company used to block having PQ at all but then they let us have it about 6 or 7 months ago.
They still have a block on storing VBA.
I didn’t know PQ could be available but blocking of code could be done.