Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Rob Smith
 
Posts: n/a
Default Macro updates and link goes #REF! ???

I (Excel 2003) have a WS(Data) containing a macro that updates a cell (stock
quote) via a toolbar button.

I have linked this cell to another WS cell (=Data!$B$1) which works fine if
I manually change the input.

However, when I run the Macro, which refreshes the data from the URL the
linked cell loses the link and I get (=Data!#REF!)

Can anyone help here please?

Thanks in advance ...



  #2   Report Post  
Bill Manville
 
Posts: n/a
Default

Rob Smith wrote:
when I run the Macro, which refreshes the data from the URL the
linked cell loses the link and I get (=Data!#REF!)

Can anyone help here please?


It would help if we could see the macro.
If you cut and paste to/from the cell or delete the cell then you would
get this effect.

If such an operation is inevitable then you could change the formula to
=INDIRECT("Data!$B$1")

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup

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



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