Hi rhomulos
If your macros are on a custom toolbar (Which is the best way) then try this
Sub Auto_Open
Toolbars("YourToolbarName"
end sub
Sub Auto_Close
Toolbars("YourToolbarName"
End sub
This way whenever the workbook is closed the full path will not be added to the macro.
whenever the workbook opens it will be available
The personal macro is a hidden sheet that runs in the background whenever you start the Application.
To view it go to Window>Unhide then you will see the personal macro worksheet then when you hit Alt+F11 you will see the Personal.xls VBA Project in the project window
Let me know if I understood you correctly
Antrat
Main Topics
Browse All Topics





by: rhomulosPosted on 1999-09-15 at 19:32:23ID: 2050277
I'm also having trouble if I assign a macro to a button then it assigns as macro
C:\directory\filename.xls!
and the if I change the filename or directory path then it can no longer find the macro even if its the same file just rename and even though the macro still exists in the file, is their something wrong with my technique or is this an option thing in Excel???