View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
smartin smartin is offline
external usenet poster
 
Posts: 915
Default 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