Edit GoTo Macro linked to Toolbar

LTL1963

New Member
Joined
Dec 10, 2004
Messages
31
I need to change the GoTo macro linked to a toolbar destination name from "RE1" to "ReimbursableExpenses_1". If I do that in the VBA, it does not work in the toolbar, goes in to Debug. Do I have to reassign the macro to the toolbar and if so how?

One of the reasons I have to do this is I am working in Excel 2003, 2007, 2010 & Mac 2011. MS Office 2011 sees the "RE1" reference as a cell and goes to debug mode when the files opens, I corrected it in 2011 to their recommendation "RE_1" and it worked, but then it didn't work in the other 3 versions.



Sub Goto_RE1()
'
' w Macro
' Macro recorded 12/20/2005
'

'
Application.Goto Reference:="RE1"
Range("V348").Select
End Sub
Sub Goto_RE2()
'
' w Macro
' Macro recorded 12/20/2005
'

'
Application.Goto Reference:="RE2"
Range("V408").Select
End Sub
Sub Goto_RE3()
'
' w Macro
' Macro recorded 12/20/2005
'

'
Application.Goto Reference:="RE3"
Range("V468").Select
End Sub


I'm sure there will be more issues between PC and MAC versions, but one at a time.
Thanks in advance for any help.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Is it possible that in

Application.Goto Reference:="RE1"

"RE1" is assigned to range that is not referenced in the VBA and when I change the "RE1" to say "ReimbursableExpenses_1" I need to reassign the range?
And if so how do I do that?
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,713
Members
452,939
Latest member
WCrawford

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top