Programatically access the label making wizard

A

Andy Levy

Hi

Is it possible to programatically access Access's label making wizard ?

Thanks

AL
 
M

Mike Painter

Andy Levy said:
Hi

Is it possible to programatically access Access's label making wizard ?
Do you mean pop it up as a user option?
If so, I don't know.
If you mean use it, then all the functions to roll your own report (which is
what a label is) are exposed in VBA.
 
J

Jeff Conrad

Do you want to launch the Label Wizard from a command button on a form?

If so, use this code:

' Access 97 Code
Application.Run "wzmain80.mlbl_Entry", "TableOrSavedQueryNameHere"

' Access 2000/2002/2003 Code
Application.Run "acwzmain.mlbl_Entry", "TableOrSavedQueryNameHere"

You have to pass in the name of a saved query or table name.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top