Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2002
    Posts
    4

    Unanswered: How to make a mail merge command button?

    How do you make a mail merge command button? so that when a user clicks on the button it does the mail merge? i have the mail merge happening from the menu, but i need it to be a button on the gui.

    thanks
    RedSmurf

  2. #2
    Join Date
    Oct 2001
    Location
    Chicago
    Posts
    440
    There is probably another way - but have you tried sending keystrokes?

    Set the menu item to 'text' or 'image and text' to accept the keys.
    Create a button on your form and try the code below.

    Private Sub cmdMailMerge_Click()
    SendKeys "&M", True
    End Sub

    (this example assumes the menu item's name is: "&Merge It with MS Word")

Posting Permissions

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