tonywatsonhelp
Well-known Member
- Joined
- Feb 24, 2014
- Messages
- 3,210
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
Hi everyone,
We have a document that is saved in a sharepoint.
I want to make saving a copy easy for others but also give them the choice of where they save the document.
so I created a save button and when click it runs this code:
which works but defults the save as location to the sharepoint area, I want them to save it to their computer so the ideal defult would be the documents folder
any ideas how I can edit my code (or get a different code) that when the save as box pops up it is defaulted to the documents folder??
Thank
Tony
We have a document that is saved in a sharepoint.
I want to make saving a copy easy for others but also give them the choice of where they save the document.
so I created a save button and when click it runs this code:
Code:
Sub filesave()
Dim bFileSaveAs As Boolean
bFileSaveAs = Application.Dialogs(xlDialogSaveAs).Show
If Not bFileSaveAs Then MsgBox "User cancelled", vbCritical
End Sub
any ideas how I can edit my code (or get a different code) that when the save as box pops up it is defaulted to the documents folder??
Thank
Tony