Forum Discussion
JoshM22
Jan 16, 2024Copper Contributor
Excel files with macros/VB failing
In my organisation we use two files which contain macros. Both were written 5 or 10 years ago and have always worked with no issues but recently they work for a period of time and then we get error m...
JoshM22
Jan 16, 2024Copper Contributor
i also sent you a private message.
HansVogelaar
Jan 16, 2024MVP
Alas, the link in your PM doesn't work ("The transfer you requested has been deleted.")
- JoshM22Jan 16, 2024Copper ContributorSorry about that - not sure why. I attached them to a PM instead.
- HansVogelaarJan 16, 2024MVP
ExcelFile1.xlsm has a macro named auto_open. This macro will automatically be executed when the workbook is opened.
The auto_open macro refers to a sheet named "form" several times. However, the workbook does not contain such a sheet.
The other workbook does contain a sheet named "form". As far as I can tell, that workbook functions correctly - I was able to display various forms from the startup form. I haven't tested the functionality of those forms though.