ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Macro accessible by all users (https://www.excelbanter.com/excel-programming/416292-macro-accessible-all-users.html)

juliejg1

Macro accessible by all users
 
I have a workbook with a 'Switchboard' page with links to all of the
worksheets in the workbook. I have created a macro that takes me back to the
Switchboard and added it to an icon on the menu bar. Every month I have to
change the name of the workbook, which messes up the macro. Also, when
someone else accesses the workbook from their computer, the macro doesn't
work and the icon doesn't appear.




joel

Macro accessible by all users
 
Post the macro. You should be usiing THISWORBOOK and not any references to
specific workbook names.

"juliejg1" wrote:

I have a workbook with a 'Switchboard' page with links to all of the
worksheets in the workbook. I have created a macro that takes me back to the
Switchboard and added it to an icon on the menu bar. Every month I have to
change the name of the workbook, which messes up the macro. Also, when
someone else accesses the workbook from their computer, the macro doesn't
work and the icon doesn't appear.




juliejg1

Macro accessible by all users
 
this is the macro:

Sub Menu()
'
' Menu Macro
' Macro recorded 8/21/2008 by Goodyear
'
' Keyboard Shortcut: Ctrl+m
'
Sheets("MENU").Select
End Sub


"Joel" wrote:

Post the macro. You should be usiing THISWORBOOK and not any references to
specific workbook names.

"juliejg1" wrote:

I have a workbook with a 'Switchboard' page with links to all of the
worksheets in the workbook. I have created a macro that takes me back to the
Switchboard and added it to an icon on the menu bar. Every month I have to
change the name of the workbook, which messes up the macro. Also, when
someone else accesses the workbook from their computer, the macro doesn't
work and the icon doesn't appear.





All times are GMT +1. The time now is 11:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com