cancel
Showing results for 
Search instead for 
Did you mean: 

AFTER REFRESH problems with a macro in Excel

miguelruiz
Participant
0 Kudos

Hi,

I have a macro in Excel and it runs "MNU_ETOOLS_REFRESH".

This brings up a window with two buttons, "Yes " and "No". If I click on "Yes" Refresh is run, if I click "No", Refresh doesn't run. The problem is I don't know which of the buttons the user clicked and I can't act accordingly.

Any ideas?

Regards,

Miguel.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I dont understand what kind of decision depends on the selection of the user. However, you can try to use MNU_eTOOLS_EXPAND. This will expand the template and refresh. There are no prompts involved and will refresh the template in any case.

Hope this helps.

miguelruiz
Participant
0 Kudos

Hi,

I need to refresh the value of a cell and I act in one way or another depending on the new value of the cell. My problem is that the function of BPC"AFTER_REFRESH" runs even if you click on "No", so that the cell is not refreshed and the results are incorrect.

Regards,

Miguel.