All graphic objects have lost their assigned macro

bisel

Board Regular
Joined
Jan 4, 2010
Messages
223
Office Version
  1. 365
Platform
  1. Windows
I was performing some edits today ... creating a new macro for a worksheet to run when that sheet is activated.

Strange thing occurred ... I noticed that a graphic object on that sheet that had an assigned macro no longer functioned. I right clicked on the graphic object and noticed that there was no macro assigned. Very strange. Upon further examination, I noticed that every graphic object on every sheet in the workbook no longer had the previously assigned macro assigned. All gone!.

I have no idea what would cause that. I need to now go back to my prior copy and one-by-one re-assign macros to each object.

Does anyone have any idea why this would happen. I certainly would like to prevent this occurrence in the future.

Steve
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
What is the file format? Is it possible that you have saved the file as XLSX (no-macro)?

Is the code for the macros still in the workbook? Or just the assignments have gone?
 
Upvote 0
File format is xlsm. All macros intact and the function fine. Only the assignments to graphic objects are gone. I have made re-assignments now. Took about 15 minutes ... not a biggie. But very strange.

steve
 
Upvote 0

Forum statistics

Threads
1,214,522
Messages
6,120,020
Members
448,939
Latest member
Leon Leenders

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