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

Stupid question, but anyway - I tested my function, and it had some errors.
Any time I made some changes to VBA code, function didn't refreshed in
Worksheet so I had to write a function again in the cell. How can I avoid
this, so result will change in the cell anytime I change a function in VBA?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default refreshing custom function

In the first line of the function put

Application.Volatile

Put error handling in your function as well.

--
Regards,
Tom Ogilvy

"Juggernnath" wrote in message
...
Stupid question, but anyway - I tested my function, and it had some

errors.
Any time I made some changes to VBA code, function didn't refreshed in
Worksheet so I had to write a function again in the cell. How can I avoid
this, so result will change in the cell anytime I change a function in

VBA?




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
Function Values Not Refreshing Carlee Excel Worksheet Functions 3 September 11th 08 02:03 PM
Refreshing external data breaks sorting of function columns BNick Excel Discussion (Misc queries) 0 October 2nd 06 06:46 PM
Refreshing a User Defined Function ChrisA Excel Discussion (Misc queries) 1 November 11th 05 06:56 PM
Web Services function call and data refreshing Jonathan Stone Excel Worksheet Functions 0 June 1st 05 02:43 AM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM


All times are GMT +1. The time now is 05:16 PM.

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"