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: 9
Default array UDF not recalculating correctly

I have a UDF that uses Yahoo! API to geocode an address (i.e. return a
standardized street, city, zip code, and lat lon coordinates) where the
address is held in cells A1:D1 (address, city, state, zip) and the
function is entered array-style into 8 column (single row) range
because I'm returning 8 data pieces from the XML document returned by
the query (standarized address, city, state, zip, lat, lon,etc).

It works great if I do as described above, it returns the individual 8
pieces into the cells that the function is entered in.

When I recalculate, however, the cells containing the function all
contain only the first piece of the 8 data pieces that they should (in
this case, the address is repeated across the 8 cells).

I can select the cells, and again enter with CTRL-SHIFT-ENTER, and it
will work properly again.

I am wondering if anyone has clues as to how to get all the cells in
the array to return the correct values after re-calculation. I have
tried all combinations of F9 relcalculaton, I have tried
"application.volatile" in the UDF, neither has helped.

Thanks for any ideas,
Dave.

 
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
Function isn't recalculating Chris Excel Worksheet Functions 2 May 22nd 09 09:06 AM
TABLE function - not recalculating correctly Jacob Excel Worksheet Functions 7 November 16th 07 07:44 PM
Recalculating Array Formulas andym Excel Programming 1 July 10th 06 03:53 AM
Stop Recalculating? stupler Excel Discussion (Misc queries) 2 March 28th 06 05:37 PM
Array not working correctly Returns FALSE on second part aaronm49 Excel Discussion (Misc queries) 1 February 11th 05 01:07 AM


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