Results 1 to 11 of 11

Thread: [RESOLVED] Fire event in other form

Threaded View

  1. #5
    Hyperactive Member
    Join Date
    Oct 2013
    Posts
    389

    Re: Fire event in other form

    Code:
    Form1.Command1.Value = True
    is what you're looking for.

    if the control does not have a .value property, you can set the sub to public and call it from anywhere.
    Code:
    Public sub Command1_Click()
        Msgbox "i'm a button"
    End Sub
    Code:
    Private sub Form_Load()
        Command1_Click
    End Sub
    Last edited by stum; Jun 29th, 2015 at 09:32 AM.

Tags for this Thread

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