Assign a Macro to Button / Shape Problem

gheyman

Well-known Member
Joined
Nov 14, 2005
Messages
2,347
Office Version
  1. 365
Platform
  1. Windows
I usually will add a rectangle to my sheets and use them as buttons. I assign Macro's to them by right clicking the shape and then click Assig Macro from the list that appears.

But now when I click the Assign Marco and the window appears, it is blank. It is not showing all the macros I created. Therefore I cannot select one to assign. Any ides why there are no Macros showing? I have a tone in this workbook. Even when I change the "Macros in:" list it doesn't show any Macros. I tried All Open Workbooks, This Workbook....

I have several other tabs with "buttons" that I created several days ago. now when I go to Select Macro for those - it is blank as well.

Any help is always appreciated.
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Check if you have added Private before the procedure. Something like Private Sub YourProcedure()
 
Upvote 0
I dont belive that is it.

example:
Code:
Sub PopulateSelect()
'Auto Populate the Select column based on the value in the Cons Qty Match Column
Sheets("Step 5").Select
UserForm3.Show

End Sub

plus I have a bunch of Macros. I also checked that I am not in Design mode (which I read could be the problem).
 
Upvote 0
Try this

 
Upvote 0
Solution

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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