Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Run macro after save


Hello all,

Hopefully this is a simple question. I need to execute a subroutine
AFTER the user saves the file (either save OR save as, doesn't matter
which).

I have come across both the WorkbookBeforeSave application event and
Workbook_BeforeSave workbook event, but again, I need this sub run
after the save.

Any thoughts as to how do this?

Thanks for your time.


--
jeer
------------------------------------------------------------------------
jeer's Profile: http://www.excelforum.com/member.php...o&userid=30378
View this thread: http://www.excelforum.com/showthread...hreadid=502711

  #2   Report Post  
Posted to microsoft.public.excel.programming
N10 N10 is offline
external usenet poster
 
Posts: 141
Default Run macro after save

Hi jeer

The way I get round this is to disable the menu bars ; in this case the menu
bar for file save etc.

I usually disable menus as a work book open event


You can then put the file saving or saveas functions under software control
as a subrouine, say triggered by a command button
and then ofcourse subsequent to the save action run the post save code.

There will be other ways, thjis works for me

Best n10




"jeer" wrote in message
...

Hello all,

Hopefully this is a simple question. I need to execute a subroutine
AFTER the user saves the file (either save OR save as, doesn't matter
which).

I have come across both the WorkbookBeforeSave application event and
Workbook_BeforeSave workbook event, but again, I need this sub run
after the save.

Any thoughts as to how do this?

Thanks for your time.


--
jeer
------------------------------------------------------------------------
jeer's Profile:
http://www.excelforum.com/member.php...o&userid=30378
View this thread: http://www.excelforum.com/showthread...hreadid=502711



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Run macro after save

See this previous thread http://tinyurl.com/7sx8w

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"jeer" wrote in message
...

Hello all,

Hopefully this is a simple question. I need to execute a subroutine
AFTER the user saves the file (either save OR save as, doesn't matter
which).

I have come across both the WorkbookBeforeSave application event and
Workbook_BeforeSave workbook event, but again, I need this sub run
after the save.

Any thoughts as to how do this?

Thanks for your time.


--
jeer
------------------------------------------------------------------------
jeer's Profile:

http://www.excelforum.com/member.php...o&userid=30378
View this thread: http://www.excelforum.com/showthread...hreadid=502711



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Run macro after save


Thanks, N10 and Bob.


--
jeer
------------------------------------------------------------------------
jeer's Profile: http://www.excelforum.com/member.php...o&userid=30378
View this thread: http://www.excelforum.com/showthread...hreadid=502711

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
Macro to Insert Current Date into cell - Macro to "Save As" Guy[_2_] Excel Worksheet Functions 4 December 12th 08 08:20 PM
Macro to Save without the Save Message Ellen G Excel Discussion (Misc queries) 4 February 23rd 07 08:52 PM
Macro Save As John Excel Discussion (Misc queries) 1 June 1st 06 12:44 PM
ASP: Open Excel File with Macro, Allow Macro to run, and then save delgados129 Excel Programming 0 March 10th 05 09:35 PM
Prompted to save changes after macro save - why? Izar Arcturus Excel Programming 2 December 10th 03 09:27 PM


All times are GMT +1. The time now is 12:45 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"