LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 35,218
Default Excel fails to update call to user-written function.

How about just changing = to =

Excel will see that as a change to the formula and reevaluate (calc mode is
automatic, right?).

Jim Luedke wrote:

Niek and Stefi:

(Very!) belated thanks for your reply to my Q about how to force
recalc of UDFs.

Application.Volatile does not seem to work.

Nor does Application.CalculateFull.

Nor does Worksheet.Calculate.

Nor does Cell.Calculate on the desired cell(s).

Nor does a great suggestion by a Michael Rickards in a 1995 entry in
comp.apps.spreadsheets:

SaveFormula = Cell.Formula
Cell.Clear
Cell.Formula = SaveFormula

Somewhat unbelievably, the above merely re-enters the obsolete, un-
recalc'ed value into the cell.

I just cannot seem to, simply, force update of (all?) cells containing
(all?) UDF(s) at VBA runtime.

Anyone else?

Thanks much again.

***


--

Dave Peterson


 
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
Cells w/ user defined function do not auto update John Excel Worksheet Functions 2 September 14th 08 07:06 PM
how to use the function written in VBA in excel sheet kelly Excel Discussion (Misc queries) 1 October 30th 07 08:53 AM
Excel formula fails to update barry Excel Discussion (Misc queries) 1 September 17th 06 12:44 PM
Button fails to call macro when open an Excel via Intranet tigertax Excel Discussion (Misc queries) 1 April 12th 05 10:21 AM
.ONACTION macro call fails Wayne Excel Discussion (Misc queries) 2 March 2nd 05 05:10 PM


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