Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to trigger a Button using macro

Hi, does any master know that how to trigger (click) a button useing macro?

it's urgent. Thanks a lot.

7 Replies
Not applicable
Author

What does you mean ? triger button? or show a button?

Not applicable
Author

I mean click a button 😃

Not applicable
Author

ActiveDocument.FireQvEvent "$button","BU01"

Not applicable
Author

I try this way..but seems doesn't work for me.

my version is 9

Not applicable
Author

But anyway...

I found that i can put macro on 'OnActivate' for the button, actually for any obj.

so i just use obj.activate to trigger same function...

Thank you all the same 😃

Not applicable
Author

    ActiveDocument.GetSheetObject("button").Press

skiruthigadevi
Partner - Creator
Partner - Creator

Hello Friends,

I am trying to implement this logic in my application but it is not working. I have attached a sample application, could you kindly have a look when you have a chance?

As of now, when I click the button my metrics is getting cleared.

so now I am trying to automate the button click while opening the document instead of clicking it manually.

Thanks,

Kiruthiga