I have 2 files in a network drive (Y = \\ganymede\infor\)
1.) I assign (in Macros.xlsm) a macro to a button in the other file (button.xlsm)
2.) I make a hyperlink to the button.xlsm
The Code in Macros.xlsm
If I open the button.xlsm
1.) from Explorer, everythings works perfect, the macroassignment is:
Macros.xlsm!Copy and it works, when I push the button
2.) trough the hyperlink, the macroassigment is:
\\ganymede\infor\Temp\Macros.xlsm!Copy
in this case pushing the button, I get an error message: the macro in the file inaccessible or the macros are banned.
I must open my file trough hyperlink (2. case), what do I have to do.
I am working with MS Server 2003, SP2. Excel 2010.
I attached the files, if you want to test it, you have to open Macros.xlsm, and run Test.
Thank you very much for your time and help!
Bookmarks