Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 41
Default Save Current Workbook


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

Please help me complete this task.

Thanks,
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default 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,

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default 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,

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default 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,

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Save Current Workbook With Extended Filename Nate[_6_] Excel Programming 2 March 20th 07 07:19 PM
save workbook as current date using a macro ExcelJon Excel Discussion (Misc queries) 2 June 21st 06 03:05 AM
Save Workbook as Current Date/Time Jacob_F_Roecker Excel Discussion (Misc queries) 1 October 25th 05 09:37 AM
i made change in a current workbook and accidentally save it, can. angel Excel Discussion (Misc queries) 1 January 4th 05 01:11 AM
unable to save current workbook within WorkbookBeforeClose TTN Excel Programming 4 November 20th 03 05:35 PM


All times are GMT +1. The time now is 11:54 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"