Save

Home ] Search ] Site Map ]

Up
Close
Exit
File Search...
Most Frequently Used
New...
Open...
Page Setup...
Permission
Print...
Print Area
Print Preview
Properties
Save
Save As...
Save as Web Page...
Save Workspace...
Send To
Web Page Preview

New! Excel User Group Now Open @ www.excelusergroup.org, Check It Out!


Menu command Type What happens next?
Save  

Saves the 'active workbook' as the same file name and to the same folder as it currently resides.  If the workbook is new, this action replicates 'save as...' and presents that dialog.

Sub wbSave()
Dim wb As Workbook
Set wb = ActiveWorkbook
'Do what you want with workbook here using wb variable
wb.Save 'Saves currently active workbook
wb.Close
End Subub

Copyright Nick Hodge 2008. All Rights Reserved.