Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default re-execute vba function

Hello,



I have create a function in excel using vba and I would like to refresh that
function without going in each cell and press enter. Is there a way to do
that programmatically?



Thanks in advance.



Nader


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default re-execute vba function


You could either make your function volatile by adding

Application.Volatile

to it's code, thus making it recalculate when any other function does,
or use the Calculate method of the Workbook, Worksheet or Range in
which your function appears, e.g.

Application.Calculate


Col


--
colofnature
------------------------------------------------------------------------
colofnature's Profile: http://www.excelforum.com/member.php...o&userid=34356
View this thread: http://www.excelforum.com/showthread...hreadid=548894

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
execute a macro from within an if(,,) function? David Henderson Excel Programming 1 January 24th 06 01:50 PM
Shell Function - Execute DOS Command bill_morgan Excel Programming 6 September 18th 05 10:11 AM
VBA new function doesn't execute palasick[_3_] Excel Programming 0 October 1st 04 07:04 PM
VBA new function doesn't execute palasick[_2_] Excel Programming 0 October 1st 04 04:59 PM
VBA new function doesn't execute palasick Excel Programming 1 October 1st 04 03:47 AM


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