Results 1 to 4 of 4
  1. #1
    5 Star Lounger
    Join Date
    Nov 2001
    Location
    Jerusalem, Israel
    Posts
    708
    Thanks
    0
    Thanked 1 Time in 1 Post

    start wizard in code or macro (2007)

    How would I start the label wizard by code or macro using a form with a command button and a list of tables or queries that could be chosen to be the source for the label wizard?
    Thanks

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: start wizard in code or macro (2007)

    The following works in Access 2002, I don't know if it'll work in Access 2007:

    Store the name of the selected table or query in the variable strSource, and use this line to start the label wizard:
    <code>
    Call Application.Run("acwzmain.mlbl_Entry", strSource)
    </code>
    Acwzmain.mde is the library database containing the wizards.

  3. #3
    5 Star Lounger
    Join Date
    Nov 2001
    Location
    Jerusalem, Israel
    Posts
    708
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: start wizard in code or macro (2007)

    Thanks
    Where can I find all the options for all the wizards in the object browser?

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: start wizard in code or macro (2007)

    If you set a reference to acwzmain.mde in Tools | Reference, you'll see the available functions etc. But they're largely undocumented.

Posting Permissions

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