DaveF
New member
Hello
I was testing out some code to to automate a SAVE AS routine via the RibbonCallbacks.
After making some changes and recompiling the exe file I found the changes appeared not to be working. However I then accidentally discovered that when I re-opened the application using the original workbook (as opposed to the last save) the code changes were indeed working.
Is this the expected behaviour? Happy to concede I may have got something wrong in the numerous code changes and re-compiles in an attempt to get it to work but that was my observation.
At the moment my Save routine (via code) saves to the original file name and the SAVE As saves to the original name appended with a timestamp. A subsequent Save (i.e. after a SAVE As) reverts back to the original filename – which is what I was hoping for but was not actually expecting.
Any clarification would be appreciated. Thank you,
Dave
EDIT: Last Save definitely not picking up on subsequent recompiles.
I was testing out some code to to automate a SAVE AS routine via the RibbonCallbacks.
After making some changes and recompiling the exe file I found the changes appeared not to be working. However I then accidentally discovered that when I re-opened the application using the original workbook (as opposed to the last save) the code changes were indeed working.
Is this the expected behaviour? Happy to concede I may have got something wrong in the numerous code changes and re-compiles in an attempt to get it to work but that was my observation.
At the moment my Save routine (via code) saves to the original file name and the SAVE As saves to the original name appended with a timestamp. A subsequent Save (i.e. after a SAVE As) reverts back to the original filename – which is what I was hoping for but was not actually expecting.
Any clarification would be appreciated. Thank you,
Dave
EDIT: Last Save definitely not picking up on subsequent recompiles.
Last edited: