Results 1 to 4 of 4

Thread: Using a command button to click other command buttons? please help

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2006
    Posts
    3

    Using a command button to click other command buttons? please help

    Hi
    I am creating a program and I want to make it so if I click one command button VB automatically click other command buttons

    i.e.
    Clicking command 4 runs
    command 1
    command 2
    command 3
    in that order

    Please help

    Thanks

  2. #2

    Thread Starter
    New Member
    Join Date
    Apr 2006
    Posts
    3

    Re: Using a command button to click other command buttons? please help

    worked it out now but thanks anyway

  3. #3
    PowerPoster jcis's Avatar
    Join Date
    Jan 2003
    Location
    Argentina
    Posts
    4,430

    Re: Using a command button to click other command buttons? please help

    In command4 click event add..
    VB Code:
    1. Command1.Value = True
    2. Command2.Value = True
    3. Command3.Value = True

  4. #4
    Hyperactive Member Private_sub's Avatar
    Join Date
    Nov 2005
    Location
    +31
    Posts
    368

    Re: Using a command button to click other command buttons? please help

    Or:
    VB Code:
    1. Command1_Click

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width