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: 2,253
Default UDF needs to update cells.


I've created an UDF to retrieve an array from an external app.

My users must be able to use the UDF's results as the source for
a DataValidation object with Dropdown list.

AFAIK Data Validation list source will only accept a "flat" delimited
string or a range object.
If the range is external a Name object is used as a wrapper for the range.


So : I'm forced to create an UDF that returns a range on a worksheet
within my addin called wsCache.

However if the lists needs to be refreshed:
I can run external application to retrieve a new array..
If the function is called from within the VBE all is fine and the cells in
wsCache can be rewritten.

But if the function is called from a cell e.g. vartype(application.caller)
= "Range" then my function exits when it tries to write to wsCache.

Any ideas..solutions..suggestions?

keepITcool
amsterdam
mailROT13

 
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
Cause Cells to update. sid[_2_] Excel Discussion (Misc queries) 6 May 9th 08 11:04 PM
Cells don't update!! aposatsk Excel Discussion (Misc queries) 4 August 18th 06 08:41 PM
How do I link a row of cells in wks 1 to update diff cells wks 2 Andy Excel Worksheet Functions 1 February 10th 06 04:27 PM
Can't Update Cells from a Function? Tommy[_7_] Excel Programming 3 February 10th 04 08:28 PM
How to connect to SQL db & update cells ChrisB[_3_] Excel Programming 1 December 4th 03 07:11 PM


All times are GMT +1. The time now is 04:46 PM.

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"