PC Review


Reply
Thread Tools Rate Thread

Detecting when a process ends

 
 
kittronald
Guest
Posts: n/a
 
      30th Aug 2011
Does Excel provide a way to detect when a selection of formulas have
completed calculation or when a file save has completed ?

I want to run a macro, save the file, run another macro and save the
file again.

However, before each save, all formulas must have completed calculation.

Is this possible ?


- Ronald K.


 
Reply With Quote
 
 
 
 
Don Guillett
Guest
Posts: n/a
 
      30th Aug 2011
On Aug 30, 3:06*pm, "kittronald" <kittron...@yahoo.com> wrote:
> * * Does Excel provide a way to detect when a selection of formulas have
> completed calculation or when a file save has completed ?
>
> * * I want to run a macro, save the file, run another macro and save the
> file again.
>
> * * However, before each save, all formulas must have completed calculation.
>
> * * Is this possible ?
>
> - Ronald K.


sub runandsave()
macro1
activeworkbook.save
macro2
activeworkbook.save
end sub
 
Reply With Quote
 
Greg Glynn
Guest
Posts: n/a
 
      31st Aug 2011
The macro function
Calculate
forces a recalculation of all your fields. So you can build that in
to your sequence before you do your saves.
 
Reply With Quote
 
kittronald
Guest
Posts: n/a
 
      2nd Sep 2011
Don and Greg,

Thanks guys.

After setting up a combination macro, I see that the calculations
complete before the file save macro runs.



- Ronald K.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I tell when a Shelled Process ends? Mac Lingo Microsoft Excel Programming 1 5th Oct 2007 07:36 AM
Re: outlook.exe process never ends after exit, - have to use taskmgr Pat Willener Microsoft Outlook Discussion 1 27th Dec 2006 02:28 AM
RunAs wait until process ends??? Mario Windows XP General 2 14th Jul 2004 07:37 AM
Outlook 2003 process never ends Sandy Modesitt Microsoft Outlook 2 25th Jun 2004 04:15 PM
After 832894, IE Ends Process When Visiting Sun's Java Site Kangar Windows XP Internet Explorer 4 11th Feb 2004 05:08 PM


Features
 

Advertising
 

Newsgroups
 


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