Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Second subroutine to run automatically

How do I get one subroutine to run automatically when another stops?
do not want the first to call the second. I am using th
Workbook_BeforePrint subroutine. When this closes the data will b
printed. THEN I want another subroutine to run automatically. Is thi
possible

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Second subroutine to run automatically

You could us application.Ontime to run the second from the BeforePrint
event. Other than that, I don't think so.

See Chip Pearson's site on using Ontime

http://www.cpearson.com/excel/ontime.htm

--
Regards,
Tom Ogilvy

"MatthewT " wrote in message
...
How do I get one subroutine to run automatically when another stops? I
do not want the first to call the second. I am using the
Workbook_BeforePrint subroutine. When this closes the data will be
printed. THEN I want another subroutine to run automatically. Is this
possible?


---
Message posted from http://www.ExcelForum.com/



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
Call a subroutine using variable subroutine name dhstein Excel Discussion (Misc queries) 3 July 26th 09 08:28 PM
SUBROUTINE HELP biker man Excel Discussion (Misc queries) 1 July 28th 07 04:06 PM
editing a subroutine ChuckM[_2_] Excel Programming 2 January 12th 04 05:56 PM
Every second subroutine dolegow Excel Programming 1 October 12th 03 02:11 AM
How do I run a subroutine on a worksheet Myron Excel Programming 3 September 8th 03 09:54 PM


All times are GMT +1. The time now is 05:12 PM.

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

About Us

"It's about Microsoft Excel"