I've been working with some code that someone helped me piece together, but it isn't quite working. I'm sure it is a simple syntax issue, I'm hoping someone can assist me.
I have a button on my form that is designed to automatically name and save the open document when pressed. it chooses the document name based on a cell in the worksheet and the current time and date stamp. The user must save their work periodically so to prevent new documents being saved every time they use the button, the button must do a "save as" on its first execution, and "Save" only on all subsequent uses. This is the code I have now, it currently does not save the document at all even the first time it is used:
Bookmarks