Hello,
I'm trying to make a simple thing but I can't manage to do it [working with excel 2003]
The situation is:
- in sheet n°1 I have some data tables;
- in sheet n° 2 I have to make some calculations based upon data in sheet 1
- to do this, I created some functions with no arguments (something like "Public Function calculate_this()") because I have to take a lot of inputs from sheet 1 (with some for loops)
The problem is:
- i want to re-calculate some results in sheet 2 when the user presses a button
How can I do this? I tried Worksheets(2).Calculate but it's not working.
The general question is: how to calculate a function that has no arguments and so doesn't refresh when the input values change?
Thanks a lot for you replies
Best wishes
Giorgio