G
Guest
Hello
I’m trying to setup the OnOpen event of a form to open, close and save (or open, save and close) an excel file. I created a simple macro with the RunApp action to open the file I want, but I don’t know how to make the macro close the excel file and choose “yes†when prompted to save the changes
Is this something that can be done with the same macro or do I have to use coding? If code is the way to go, how would the code look like
Any help is greatly appreciated
Thanks
I’m trying to setup the OnOpen event of a form to open, close and save (or open, save and close) an excel file. I created a simple macro with the RunApp action to open the file I want, but I don’t know how to make the macro close the excel file and choose “yes†when prompted to save the changes
Is this something that can be done with the same macro or do I have to use coding? If code is the way to go, how would the code look like
Any help is greatly appreciated
Thanks