re-execute vba function

  • Thread starter Thread starter Nader
  • Start date Start date
N

Nader

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
 
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
 
Back
Top