Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default RTD Wrapper called for every cell in an array formula

I've written a VBA wrapper function that parses the string returned
from an RTD server, and then returns an array to Excel. This is the
documented solution from Microsoft (http://support.microsoft.com/kb/
q286258/)

This works. However, the VBA function is being invoked for every cell
selected. This is obviously unnecessary since the function returns
the data for all the cells. This is causing a significant performance
impact.

Does anyone know how this can be solved?

NB: This problem is avoided if the function containing the RTD call
returns a string. You can then call this function to place the
delimited data in a single cell. Then, from an array formula you
reference this cell (e.g. Evaluate(A6)). This works but is obviously
not as user friendly.


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 reference in a formula is called ??????????? Excel Discussion (Misc queries) 2 April 22nd 23 09:02 AM
Returning an Array from a called function within a macro [email protected] New Users to Excel 1 May 18th 07 03:47 PM
Tricky array formula issue - Using array formula on one cell, then autofilling down a range aspenbordr Excel Programming 0 July 27th 05 03:59 PM
Array Empty After Sub Called ExcelMonkey[_190_] Excel Programming 2 March 1st 05 09:21 AM
Call VB6 DLL from Worksheet without VBA wrapper Lawrence[_3_] Excel Programming 2 September 19th 03 10:04 AM


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