Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Adding modules to a password protected Global.mpt

$
0
0

Hi,

I have a series of VBA modules, views, tables and filters that I want to programmatically add to a user's Global.mpt. 

This used to be straightforward, using Application.OrganizerMoveItem in an auto_open sub.  However we now have password protected the Global.mpt (to prevent customers viewing our code if we provide them with a Global.mpt).

Surprisingly, the code still works, but prompts the user for a password for each VBA module being moved.  If they press Cancel, the module is moved anyway.  This kind of makes sense, as the effect of the password protection is to hide code, but not prevent updates to the Global.mpt.  Can anyone tell me how to hide the prompt for the password? 

TIA

 Neil.


Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>