Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Forcing a macro to (semi-) automatically run

I have a chart which can have a range of up to 4000 points.
I frequent want to look at only a specific sub-range.
(Essentially zoom in on an area of interest.)

I wrote a macro which accepts starting and ending values from
particular cells.

I haven't figured out how to force it to run anytime I enter a new
value. If it replotted a 'new' range anytime the spreadsheet
recalculated, that would be fine also.

I could use keyboard shortcut.
BUT, computers should serve user, not vice versa:)

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Forcing a macro to (semi-) automatically run

The change event for the worksheet fires each time you edit a cell. You
could probably use that to perform the plot

see Chip Pearson's page on events if you are not familiar with them

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

--
Regards,
Tom Ogilvy


"Richard Owlett" wrote in message
...
I have a chart which can have a range of up to 4000 points.
I frequent want to look at only a specific sub-range.
(Essentially zoom in on an area of interest.)

I wrote a macro which accepts starting and ending values from
particular cells.

I haven't figured out how to force it to run anytime I enter a new
value. If it replotted a 'new' range anytime the spreadsheet
recalculated, that would be fine also.

I could use keyboard shortcut.
BUT, computers should serve user, not vice versa:)

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Forcing a macro to (semi-) automatically run

Tom Ogilvy wrote:
The change event for the worksheet fires each time you edit a cell. You
could probably use that to perform the plot

see Chip Pearson's page on events if you are not familiar with them

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


Yes, that describes what I want to do.
Now I'll have to read it carefully enough to actually do it ;)

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
Linking data from a new sheet (semi-)automatically Alison KS Excel Discussion (Misc queries) 1 March 21st 07 12:26 PM
semi log graphs dr chuck Charts and Charting in Excel 3 February 17th 07 06:40 PM
Semi-hang in XL2002 Charlie Excel Discussion (Misc queries) 0 May 6th 06 04:53 PM
Forcing a macro to pause for filename matpoh Excel Discussion (Misc queries) 3 September 13th 05 06:28 PM
Semi-log graph? Don Wiss Excel Programming 3 November 25th 03 07:58 PM


All times are GMT +1. The time now is 02:27 AM.

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"