+ Reply to Thread
Results 1 to 3 of 3

submit button in macro

  1. #1
    Jones E
    Guest

    submit button in macro

    I'm trying to use a Submit button to run a macro. Need Help.

    Thanks
    Eric

  2. #2
    AMDRIT
    Guest

    Re: submit button in macro

    Simply double click on the button and it will take you to the control's
    click event. From there you can call your macro.

    Private Sub CommandButton1_Click()
    Call MyMacro
    End Sub


    Private Sub MyMacro()
    msgbox "Aw, you clicked me, how nice of you."
    End Sub


    "Jones E" <Jones [email protected]> wrote in message
    news:[email protected]...
    > I'm trying to use a Submit button to run a macro. Need Help.
    >
    > Thanks
    > Eric




  3. #3
    Jones E
    Guest

    Re: submit button in macro

    Thanks so much, worked Great

    "AMDRIT" wrote:

    > Simply double click on the button and it will take you to the control's
    > click event. From there you can call your macro.
    >
    > Private Sub CommandButton1_Click()
    > Call MyMacro
    > End Sub
    >
    >
    > Private Sub MyMacro()
    > msgbox "Aw, you clicked me, how nice of you."
    > End Sub
    >
    >
    > "Jones E" <Jones [email protected]> wrote in message
    > news:[email protected]...
    > > I'm trying to use a Submit button to run a macro. Need Help.
    > >
    > > Thanks
    > > Eric

    >
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1