Saving a Workbook That Has Already Been Saved : Workbook SaveAs « Excel « VBA / Excel / Access / Word






Saving a Workbook That Has Already Been Saved

 
Sub save()
    Workbooks("Data Book.doc").Save
End Sub

 








Related examples in the same category

1.xlNormal: Saves Document As A normal workbook
2.xlXMLSpreadsheet: Saves Document As An XML spreadsheet
3.xlWebArchive Saves Document As A single file web page
4.xlHtml Saves Document As A web page
5.xlTemplate Saves Document As A template
6.xlExcel9795 Saves Document As An Excel workbook for Excel versions 95 and later
7.Save the active workbook
8.Saves the open workbook named Schedule.xls under the name Building Schedule.xls in the folder named \\server2\Public using the "Microsoft Excel 97-2003 & 5.0/95" format (from Excel 2003):
9.Saving All Open Workbooks