Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Lydia Hughes   on Oct 03 In MS Office Category.

  
Question Answered By: Joann Gardner   on Oct 03

try this:

Sub test()
Dim Result, fileSaveName
Result = MsgBox("Do you wish to save?", vbYesNo, "Save")
If (Result = vbYes) Then
fileSaveName = Application.GetSaveAsFilename(filefilter:="Excel files
(*.xls), *.xls")
If fileSaveName <> False Then
ActiveWorkbook.SaveAs Filename:=fileSaveName, FileFormat:=xlNormal,
_
Password:="", WriteResPassword:="", ReadOnlyRecommended:=False,
_
CreateBackup:=False
End If
End If
MsgBox "continuing"
End Sub

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Need to save new copied sheet Or get search suggestion and latest updates.


Tagged: