SimonBailey
New Member
- Joined
- Feb 4, 2010
- Messages
- 13
Hi
I have a macro that saves an excel file as a file name related to a variable in a cell. After updating to Excel 2007 I have ammended the file to save as an xlsm file. The macro runs from a button on the Add-Ins ribbon. These buttons are created when the spread sheet is opened, and all other macros work fine with the buttons. However this one gives an "Incorrect funtion" with the ! in the yellow triangle, pop up error box after the macro has run, even though it has saved the file correctly, has anybody any idea why this is please?
By the way, if running via a button or through VBA editor it works fine.
Thanks
Simon
I have a macro that saves an excel file as a file name related to a variable in a cell. After updating to Excel 2007 I have ammended the file to save as an xlsm file. The macro runs from a button on the Add-Ins ribbon. These buttons are created when the spread sheet is opened, and all other macros work fine with the buttons. However this one gives an "Incorrect funtion" with the ! in the yellow triangle, pop up error box after the macro has run, even though it has saved the file correctly, has anybody any idea why this is please?
By the way, if running via a button or through VBA editor it works fine.
Thanks
Simon
Last edited: