Consulting

Results 1 to 4 of 4

Thread: Solved: VBA To Run Macro From Menu Button

  1. #1
    VBAX Tutor jo15765's Avatar
    Joined
    Oct 2011
    Posts
    281
    Location

    Solved: VBA To Run Macro From Menu Button

    I found this site that shows me how to use VBA to create a custom button on a custom menu. My question now is how to use VBA to put a macro behind that button, or to have an onclick() event for that button?

    http://scriptorium.serve-it.nl/view.php?sid=14

  2. #2
    VBAX Regular
    Joined
    Dec 2010
    Posts
    15
    Location
    The .onaction parameter sets the macro to be called. In the example, it is: SubItWorks


    Regards

  3. #3
    VBAX Tutor jo15765's Avatar
    Joined
    Oct 2011
    Posts
    281
    Location
    Thank you for the prompt reply!! This answer got me through what I was working on!!!! Apologies for the delay in responding/marking as solved.

  4. #4
    VBAX Regular
    Joined
    Dec 2010
    Posts
    15
    Location
    You're welcome.

Posting Permissions

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