Macros disappeared!

RUMPOLE

New Member
Joined
Oct 4, 2017
Messages
25
Hi

I have a reoccurring issue with a daily EXCEL file I prepare.

Quite often I will open the file after it has been prepared earlier, and all the macros that were stored in the workbook will have disappeared.

Any suggestions for how I can rectify this situation?

Kind Regards
RUMPOLE
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
I'm not sure- most of them are in Module 2- i seem to have 87 different modules but most of the macros are in module 2.

I have taken any notice of where I have saved them previously, its a file that has been worked on piecemeal for a few years, I'm ok writing VBA but there's a lot about VBA that I don't understand, especially about how it is structured.

Hope that makes sense/ gives a bit of background!
 
Upvote 0
My concern is if you have more than one workbook open is are you storing them in a module in the correct workbook (or even in the personal workbook).
 
Upvote 0
I'm fairly sure I am storing them in the correct workbook- I create a new file each day from the previous days file- I can't see any links to previous dates.

I always store the macros in the actual workbook, not the personal macro book.
 
Upvote 0
Afraid at the moment if you are storing the code in the correct modules and the file is being saved as an xlsm I can't think of any reason why the code would disappear.... sorry.
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,151
Members
453,021
Latest member
Justyna P

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