I always get nervous now (with what I'm going to write), since, as a newbie, I might be saying something that an experienced person would laugh at.
However, here goes .....
If I understand correctly, you can write code in the VBA section by opening via ALT +F11 and you can also record a macro which can be saved in your personal macro folder. Personal macro folders are not allowed on some terminals due to security issues (so they say) however VBA written the editor (ALT + F11) is acceptable on all terminals.
Anyone can write macros by pressing alt+f11 as you say.
If they then save the file as an xls
m file then, de facto, the file contains macros (the
m at the end).
They can then distribute this to anyone, but as soon as the recipient saves the files and tries to open it (in 2007) they see a line just above the column headers indicating that the file contains macros, which have been disabled
unless they save the file to a trusted location or it comes from a trusted publisher.
Your comment above about a personal folder would be incorrect I believe. Try writing a macro, save it as an xlsm file to your desktop. Close it, and then reopen the desktop xlsm file.
Unless your desktop is trusted, those macros can't be run by you when you reopen the file. (Try it to check that what I say is correct)
Whether they then choose to allow these macros to run is up to them.
I believe also that your comment about specific terminals is also incorrect. It's all about whether the xlsm file is being loaded from a trusted location/publisher. Theoretically,
you could go to management and faff around getting/setting up a certificate (read about it, I played with it at one time, but didn't follow t rhough).
This means that your xlsm files are "certified" as being reliable, ie, a trusted publisher. (Think about it, when you download files to your PC and run the exe file to install, you get that message saying that the publisher is Microsoft (maybe) and do you want to continue. Other times you'll get a message that the publisher is unknown and do you want to continue. It's the same principle.
I hope this clears things up (and above all, I hope all my comments are correct)