Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 49945

Command Button Save vs Save as

$
0
0
I was asked to create a spreadsheet that has multiple save buttons. I don't have a choice in the design of the form so I'm trying to make it as close to specification as possible.

There are several rows for data entry used through the day. At the end of each row is a command button "Save". I have setup logic to dictate the name and file location for a save as command, what I would like to add to this is logic to verify if the save as command has already been used. If it has, then subsequent use of the "save" buttons should perform a "Save" not a "save as".

Something like:

if OriginalFilename.xlsm
then Save as NewFileName.xlsm

If NewFileName.Xlsm
Then Save file

If that makes sense.

Thank you for all your help :)

Bruce

Viewing all articles
Browse latest Browse all 49945

Trending Articles