A few Macro questions

ipbr21054

Well-known Member
Joined
Nov 16, 2010
Messages
5,832
Office Version
  1. 2007
Platform
  1. Windows
Hi,
It’s time I cleaned up some of my Macro names from when I first started to record them.
Example.
You see a suggested macro name of say Macro12 so I just kept it.
I assigned the Macro to a button and works well.
Some time down the road I now want to clean up / rename these odd Macros.

Is there a way I can now find out which sheet / button it’s assigned too as how will I know, especially if it’s like Range A10.Select ???

Second question.
When I rename the Macro is it done by Alt & F11, right click on say Module 50 then enter the new name where Module 50 is currently typed ??

Or

Do I need to go to the top of page where I see Macro & Record Macro etc on the ribbon which then shows the box which has edit & step into etc ?

Once I successfully rename a Macro will the button in question still operate that Macro or will I need to assign it again ??

Thanks very much.
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
With the macro open (Alt F11), click on View, Properties Window. In the Name line, type in the name you wish to have for the Macro. Save and Close
 
Upvote 0
My question still applies.
If I have a Macro call gotocellM22 how can I find out which sheet it is on then which button is it assigned to.

Is the somecode that can advise me off all the Macro names, which sheet they are on & may the button namevetc ?

Thanks.
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,876
Members
452,949
Latest member
Dupuhini

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