Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Recalculate function

Hi
I have a function in a spreadsheet defined in Visual Basic. Is there a way
to get cells containg this function to be recalculated after data has been
changed? It doesn't happen automatically and F9 has no effect. So far, the
only way I can find to get the correct value calculated is to re-enter the
formula in the cell.

Thanks for any tips

--
Peter Aspey
E-mail: replace 6 by p


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Recalculate function

Add Application.Volatile at the start.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Peter A" wrote in message
...
Hi
I have a function in a spreadsheet defined in Visual Basic. Is there a way
to get cells containg this function to be recalculated after data has been
changed? It doesn't happen automatically and F9 has no effect. So far, the
only way I can find to get the correct value calculated is to re-enter the
formula in the cell.

Thanks for any tips

--
Peter Aspey
E-mail: replace 6 by p




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Recalculate function

Yes, Bob, it did help. Thanks very much.
Peter

"Bob Phillips" wrote in message
...
Add Application.Volatile at the start.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Peter A" wrote in message
...
Hi
I have a function in a spreadsheet defined in Visual Basic. Is there a
way
to get cells containg this function to be recalculated after data has
been
changed? It doesn't happen automatically and F9 has no effect. So far,
the
only way I can find to get the correct value calculated is to re-enter
the
formula in the cell.

Thanks for any tips

--
Peter Aspey
E-mail: replace 6 by p






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
Recalculate changes only hmm Excel Discussion (Misc queries) 3 December 18th 06 01:06 PM
Refresh/Recalculate a Custom Function dch3 Excel Worksheet Functions 1 July 31st 06 01:59 PM
My VBA Function Won't Recalculate soteman2005[_2_] Excel Programming 3 December 1st 05 02:51 PM
function does not recalculate sum lukiedukie Excel Worksheet Functions 1 April 22nd 05 10:20 PM
Recalculate Custom Function Brad L. Excel Programming 3 May 20th 04 02:04 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"