Slightly different than Ping's, but generally the same. I also cleaned up a couple of things.
1. I could not figure out why the same 'save as' action was being repeated, so I deleted the second instance.
2. I took the liberty of adding hypens between the various name components. You can delete them if it is your wish to have everything together without spacing or sight breaks.
As to your last request for specific direction to make it all happen, the following would be pasted in a standard module. From your VBEditor, "Insert" >> "Module". Paste the code below.
With design mode on from the developer tab, double-click (or single-click to activate, right-click, view code) your command button. This will take you to the worksheet level in which the ActiveX button resides. Your code here would simply be a call to the routine above, expressed as:
The "Call" in the code above is already understood by excel and not necessary. I prefer to use it as a quick visual reminder (excel turns the text color blue) that a routine residing elsewhere (in this case in a module) is being used (or called for use).
-Hope this helps-
Bookmarks