ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Save Current Workbook (https://www.excelbanter.com/excel-programming/399947-save-current-workbook.html)

Joe K.

Save Current Workbook
 

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

Please help me complete this task.

Thanks,

Gary''s Student

Save Current Workbook
 
Sub savit()
ActiveWorkbook.Save
End Sub

--
Gary''s Student - gsnu200751


"Joe K." wrote:


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

Please help me complete this task.

Thanks,


JE McGimpsey

Save Current Workbook
 
One way:

Public Sub SaveCurrentWorkbook()
ActiveWorkbook.Save
End Sub

In article ,
Joe K. <Joe wrote:

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

Please help me complete this task.

Thanks,


Ron de Bruin

Save Current Workbook
 
Hi Joe

For the workbook with the code

ThisWorkbook.Save

Or for the activeworkbook
ActiveWorkbook.Save



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Joe K." <Joe wrote in message ...

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

Please help me complete this task.

Thanks,



All times are GMT +1. The time now is 01:14 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com