Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default OnChange - argh! How do I get this to work please?


First post here guys.

I'm getting stock prices from retuers. The cells with the feed in it
updates with the price. I need some code which says "when this cell
changes, and only this cell" run this sub.

I've used OnChange but it only seems to work when you manually change a
cell. No good. Oncalculate is just too much as the spreadsheet becomes
unusable and there is no need to reculated everything if the price
doesn't change.

Any help would be greatly appreciated!


Thanks,



Neil.


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

~~Now Available: Financial Statements.xls, a step by step guide to creating financial statements
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default OnChange - argh! How do I get this to work please?

Look at setlinkondata This is set for each individual link (you have to
have code that sets it) and the assigned macro fires when that link updates.


If you have excel 2000 or later, you can use the Change event as well.

--
Regards,
Tom Ogilvy




"mightyginger" wrote in message
...

First post here guys.

I'm getting stock prices from retuers. The cells with the feed in it
updates with the price. I need some code which says "when this cell
changes, and only this cell" run this sub.

I've used OnChange but it only seems to work when you manually change a
cell. No good. Oncalculate is just too much as the spreadsheet becomes
unusable and there is no need to reculated everything if the price
doesn't change.

Any help would be greatly appreciated!


Thanks,



Neil.


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

~~Now Available: Financial Statements.xls, a step by step guide to

creating financial statements


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
SUMPRODUCT problems...argh... Cita Excel Discussion (Misc queries) 10 September 23rd 08 09:20 PM
formula I can't figure it out?! ARGH jewels Excel Worksheet Functions 4 December 8th 05 01:04 PM
Is there away to keep "auto save" from jumping to the first work sheet in the work book? Marc New Users to Excel 2 April 21st 05 01:27 AM
argh, can't get it to work solo_razor[_11_] Excel Programming 4 October 27th 03 04:51 PM
Inserting time stamp onchange of any cell Mitchell Carey Excel Programming 1 August 8th 03 08:09 AM


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