LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default DDE link mystery

I use a third-party stock quote feed and I link that to Excel via DDE
links. The formula for the link is:

=bc|cot!GOOG.ult

where GOOG is the stock symbol (in this example, Google). If the stock
is always the same, the formula works fine. But I'd like to have a
flexible formula where I could change the stock symbol on a separate
cell without retyping the whole formula.

My first idea was to use CONCATENATE("=bc|cot!"; A1; ".ult"), where A1
is the cell where the stock symbol would go. But concatenate just
produces a text string in that cell, without actually creating a
formula.

To solve this problem is created a macro that inserts the concatenated
text as a formula in the cell: Cell.Value = CONCATENATE("=bc|cot!";
A1; ".ult"). This solution works, but I was really looking for a direct
formula link, whereby I would change the symbol on one cell and the
correct quote was displayed in the other cell without the need of
rebuilding the formula.

Does anyone have an idea?

 
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
MYSTERY!! WhytheQ Excel Discussion (Misc queries) 2 June 20th 06 11:00 AM
Mystery Cell Jim H. Excel Discussion (Misc queries) 4 March 24th 06 05:40 PM
VLOOKUP Mystery RHubbard Excel Worksheet Functions 3 September 20th 05 06:43 PM
HELP!! Unsolved Mystery ahegstrom Excel Discussion (Misc queries) 2 June 8th 05 07:26 PM
Can anyone solve this mystery? JK Excel Programming 2 November 21st 04 08:59 PM


All times are GMT +1. The time now is 12:37 AM.

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"