on 11-09-2012 7:47 AM
Hi All,
I created macro to fill certain formula in the cell. The question is, how can i put this macro execute automatic after the input template is refreshed ?
Thanks,
Suprapto
Dear All,
I put these line in my module.
Dim EPM As New FPMXLClient.EPMAddInAutomation
Sub AFTER_REFRESH()
< my code >
End Sub
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try as follows ...
Dim EPM As New FPMXLClient.EPMAddInAutomation
Sub REFRESH_DATA()
EPM.RefreshActiveSheet
<Insert your code here..to fill formula in the cell >
End Sub
Hope it helps...
regards,
Raju
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suprapto,
I don't think it's possible to achieve what you are trying to do. As an alternative, create a custom button and assign two macros to it, first refresh and then the one which you have designed. So, in effect, once user clicks on that button, it would first refresh and then call the required macro.
Hope it helps!!
User | Count |
---|---|
15 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.