ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Programmatically press CommandButton (https://www.excelbanter.com/excel-programming/431299-programmatically-press-commandbutton.html)

donwb

Programmatically press CommandButton
 
Win XP, Excel 2003

What is suitable code to programmatically press
a CommandButton on an open / running UserForm.
donwb



smartin

Programmatically press CommandButton
 
donwb wrote:
Win XP, Excel 2003

What is suitable code to programmatically press
a CommandButton on an open / running UserForm.
donwb



Enter this where you want to simulate the user clicking CommandButton1:

[Call] CommandButton1_Click


All times are GMT +1. The time now is 02:07 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com