ActiveWorkbook SaveAs

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

Can anyone share code that can be used instead of ActiveWorkbook.Save
to produce the SaveAs routine to provide option to SaveAs a different
file name?

TIA

Mike
 
This may give you a few ideas:

Sub test()
Dim SaveName As String
Dim fFilter As String
Dim NewName As String
NewName = "<Save Under New Name>"
fFilter = "Excel Files (*.xls), *.xls"
SaveName = Application.GetSaveAsFilename _
(NewName, fileFilter:=fFilter)
End Sub

HTH
Jason
Atlanta, GA
 

Ask a Question

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.

Ask a Question

Back
Top