Hi guys,
I have a slight problem with some code I am using. I have a user form where I force the users to enable Macros using the hidden sheets trick. Once the user enables the macros all of the toolbars dissapear from excel. The code I use to do this is below:
I also have a "restore toolbars" code below which is basically the opposite of this so that when the user exits or saves the form using my macro button the toolbars are restored.
I have the following in my workbook code so you can see when the above functions are called:
Hopefully the above will be enough information for you to help me. The flaw I cannot get around is this:
If I have 2 copies of the form and open them both with macros enabled, when I exit one of them all the toolbars are restored for the form that is still open. I really need to find a work around for this, it is essential that the users are not able to navigate around the worksheets or print and save without using the macro buttons embedded within the form as there is additional validation functionality written into those buttons.
Any help would be greatly appreciated.
Warm Regards
Geff
Bookmarks