Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is there any way (code) to push a UserForm CommandButton programatically?
-- donwb |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Call Commandbutton1_Click
-- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "donbowyer" wrote in message ... Is there any way (code) to push a UserForm CommandButton programatically? -- donwb |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If you are calling the command button from somewhere other than the form you
will need to reverence the form explicitly something like this... Call userform1.Commandbutton1_Click Additionally you will need to change the scope fo the button kinda like this... Public sub Commandbutton1_Click() instead of Private Sub Commandbutton1_Click() -- HTH... Jim Thomlinson "Bob Phillips" wrote: Call Commandbutton1_Click -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "donbowyer" wrote in message ... Is there any way (code) to push a UserForm CommandButton programatically? -- donwb |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks to all who replied. Calling CommandButton_Click worked fine
-- donwb "Jim Thomlinson" wrote: If you are calling the command button from somewhere other than the form you will need to reverence the form explicitly something like this... Call userform1.Commandbutton1_Click Additionally you will need to change the scope fo the button kinda like this... Public sub Commandbutton1_Click() instead of Private Sub Commandbutton1_Click() -- HTH... Jim Thomlinson "Bob Phillips" wrote: Call Commandbutton1_Click -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "donbowyer" wrote in message ... Is there any way (code) to push a UserForm CommandButton programatically? -- donwb |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Push button and input box? | Excel Discussion (Misc queries) | |||
Time with the push of one button | New Users to Excel | |||
Push the button | Excel Programming | |||
Which button did I push | Excel Programming | |||
Searching in a row with push on a button | Excel Programming |