Save Current Workbook

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to create a macro to save my current workbook.

Please help me complete this task.

Thanks,
 
One way:

Public Sub SaveCurrentWorkbook()
ActiveWorkbook.Save
End Sub
 
Hi Joe

For the workbook with the code

ThisWorkbook.Save

Or for the activeworkbook
ActiveWorkbook.Save
 

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