Micro Focus QTP (UFT) Forums
how can i click a macro button in excel using vbscript - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: how can i click a macro button in excel using vbscript (/Thread-how-can-i-click-a-macro-button-in-excel-using-vbscript)



how can i click a macro button in excel using vbscript - arpan - 09-09-2017

Hi,

I've a macro(forms) button in excel which is assigned to execute few macros. I need to click that button to execute all macros. Can someone tell me how can i click on macro button in excel. I've only seen solutions for 'How to run a macro in excel' and nothing on how to click macro button. 

Thanks


RE: how can i click a macro button in excel using vbscript - supputuri - 10-03-2017

Just a thought, Why can't you run the Macro behind the button.