this example may be a little more than you were looking for as includes a
test on Path to detrmine if file has been previousley saved - it also shows
how to include password from a range value.
Hope useful
Sub SaveBook()
Dim Passwrd As Range
Dim FName As Variant
Dim FPath As String
'change sheet name & range as required
Set Passwrd = Worksheets("Sheet1").Range("A1")
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.