Output to Word

D

DAve

I am using the following code to output to word

DoCmd.OutputTo acOutputQuery, "qryResult", acFormatRTF, strFileName, True
which works fine but I have two questions

1. Is there anyway that the word document that opens, opens in landscape
rather than portrait

2. I cant figure out how the widths of the columns are determined in the
word document - are they based on the field length/type? or something else?
 
T

Tom van Stiphout

On Tue, 29 Sep 2009 15:16:03 -0700, DAve

Maybe you would have better luck if you used a Report rather than a
query. Then use DoCmd.OutputTo acOutputReport.

-Tom.
Microsoft Access 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