Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default UDFs in worksheets with external data sources

Hi,

I have cells that call user defined functions in a database-linked
worksheet. Refreshing the data causes some pretty irritating behaviour.

When the old data gets deleted, the cells referencing the UDFs are
recalculated. Because there's nothing in the cells passed as arguments to
the UDFs, the UDFs return error strings. I can live with this.

However, once the new data is loaded, the same cells are NOT recalculated.
I have to force a recalculation by pressing CTRL-ALT-F9.

Is there some event that occurs at the end of a database retrieve where I
can code the worksheet to do a full recalculation?

Cheers!


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 175
Default UDFs in worksheets with external data sources

have you thought about using application.calculatefull at the end of the
database retrieval code?


--
www.alignment-systems.com


"Gyruss" wrote:

Hi,

I have cells that call user defined functions in a database-linked
worksheet. Refreshing the data causes some pretty irritating behaviour.

When the old data gets deleted, the cells referencing the UDFs are
recalculated. Because there's nothing in the cells passed as arguments to
the UDFs, the UDFs return error strings. I can live with this.

However, once the new data is loaded, the same cells are NOT recalculated.
I have to force a recalculation by pressing CTRL-ALT-F9.

Is there some event that occurs at the end of a database retrieve where I
can code the worksheet to do a full recalculation?

Cheers!



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
Importing External data from various sources [email protected] Excel Discussion (Misc queries) 3 January 19th 07 10:19 PM
external data from multiple sources lou sanderson Excel Programming 0 May 20th 05 07:21 PM
Why can't I edit my external data sources? jcoburn Links and Linking in Excel 0 March 29th 05 04:40 PM
Why can't I edit my external data sources? jcoburn Excel Discussion (Misc queries) 0 March 11th 05 03:31 PM
External data sources in Excell... George[_21_] Excel Programming 2 April 30th 04 09:19 AM


All times are GMT +1. The time now is 08:32 AM.

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"