I am trying to create a macro to copy the current sheet and save it in a csv formatted version and insert such macro in a "before close" sub.
I have managed to create the macro that creates the csv version successfully however it does not work when I insert it in the before close sub since it is creating a blank copy only.
Below please find the macro to create the csv version:
Below please find the macro to create the csv version before closing:
Has anyone ever tried something similar and have any idea how to successfully execute the above mentioned macro before closing?
Bookmarks