auto exec macros


Posted by Brian on March 14, 2001 8:41 AM

How do you create these specifically assigned to a particular file? Eg On opening a file the macro executes hides the default menus & insert the custome one (not floating!). If I then want open another file, this macro does not execute.

Doing my head in!!!!

Posted by Dave Hawley on March 14, 2001 9:11 AM


Hi Brian

The code for this is quite involved. I have it on my home PC, but not with me. I will post it here for you in about 6 hours.


Dave

OzGrid Business Applications

Posted by Nishith Desai on March 14, 2001 10:04 AM

You can write the code in Sub auto_open and sub auto_close in excel workbook and remember write this code in module otherwise it will not work.

there you can write code like command bar visible is true or false.

if you are not able to solve this write me a mail i will mail you with full solution

nishith



Posted by as on March 14, 2001 9:36 PM

Thank you!!!! I was lookin for this...................