Printing Envelope along with Form.

J

Jeffery B Paarsa

Hi,

I have developed a template that opens a user form and in user form I
collect name and address and then I print the form.

Now I would like to also stack up envelope on my printer stack tray and
print an envelope using info. that I have collected from the user form and
print an evelope too which uses totally differnt tray in the printer. Any
suggestion, sample code?
 
D

Doug Robbins - Word MVP

To Word, an envelope is really just a document. I would suggest that you
create another template for your envelope with DocVariable fields in that
template to contain the elements of the name and address and then have code
in your userform create a new document from that template, set the values of
the document variables in that document to the data from your userform,
update the fields in that document and then have it print it out to the
appropriate tray.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

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