Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default macro/workseet/graph interaction

I am running a macro which simulates an engineering application. The macro
essentially time steps, sending the data at each time step to a worksheet,
and a chart is set up to display the data in graphical form.

Problem - although the worksheet is updated at each time step, the chart
only updates when the macro has finished executing - and I want to see the
data being graphed as the simulation proceeds - is there anyway of getting
the macro to pause while the chart is updated - some kind of handshake
between EXCEL and the macro? (At the moment the only way I can do this is to
put a STOP in the code loop.)

Thanks in advance


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default macro/workseet/graph interaction

Make sure you have Application.Screenupdating = true and try using the
DoEvents function. Or you could use OnTime to run the elements of your
simulation at the time intervals you require.
Seisman

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 interaction C Brandt Excel Discussion (Misc queries) 5 May 2nd 07 10:00 PM
chart/worksheet/macro interaction nc10001 Charts and Charting in Excel 1 July 31st 05 09:21 PM
macro/worksheet/chart interaction nc10001 Excel Discussion (Misc queries) 1 July 31st 05 02:33 PM
How can I stop a macro for Human Interaction Henry Stock Excel Programming 2 February 19th 05 11:15 PM
Make Macro go to Next Workseet Michael from Austin Excel Programming 17 February 3rd 05 12:01 AM


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