Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default Array formula to text

I have the following array formula:

{=QLink|Bars!'QQQQ,15,100,DTOHLCV,HEADERS,FILL'}

and would like to be able to grab it as text so I can plug it into a macro
and manipulate/replace some of its elements. For example, as it is now, it
pulls in price data for the symbol, QQQQ, in 15 minutes per bar. In the
macro, I would like to be able to change the symbol to SPY or any other
symbol, and also change the time period too.

I have tried a few things but have yet to figure out how to get the text of
this array formula into a cell or into a macro so that I can manipulate it.

My thanks in advance for any ideas! Cheers! Brad


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Array formula to text


How about:

Application.Evaluate("QLink|Bars!'" & "SPY," & "15,"
"100,DTOHLCV,HEADERS,FILL'"

--
david
-----------------------------------------------------------------------
davidm's Profile: http://www.excelforum.com/member.php...fo&userid=2064
View this thread: http://www.excelforum.com/showthread.php?threadid=40080

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Array formula to text

If I recollect correctly, evaluate doesn't work with external
references/links.

--
Regards,
Tom Ogilvy


"davidm" wrote in
message ...

How about:

Application.Evaluate("QLink|Bars!'" & "SPY," & "15," &
"100,DTOHLCV,HEADERS,FILL'")


--
davidm
------------------------------------------------------------------------
davidm's Profile:

http://www.excelforum.com/member.php...o&userid=20645
View this thread: http://www.excelforum.com/showthread...hreadid=400807



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
Cell format for an array formula containing text Pete Excel Worksheet Functions 2 April 15th 09 08:56 PM
Array formula based on text and dates.. GD Excel Discussion (Misc queries) 3 January 16th 08 01:39 PM
Array Formula Minimum Excluding Text Adams SC Excel Discussion (Misc queries) 5 March 8th 07 02:29 PM
a text array formula EMCUE Excel Worksheet Functions 2 March 29th 06 07:22 PM
Array Formula - using LEFT("text",4) in formula Andrew L via OfficeKB.com Excel Worksheet Functions 2 August 1st 05 02:36 PM


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