r/ExcelPowerQuery • • 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

6 comments sorted by

View all comments

Show parent comment

1

u/sawveld Jul 09 '25

Certainly an excellent way to protect your work