Group:  Microsoft Access » microsoft.public.access.modulesdaovba.ado
Thread: OutputTo to Word

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

OutputTo to Word
Jose Perdigao 09.09.2006 13:35:01
I'm using docmd.OutputTo command to export data from a view or store
procedure to Word.

The procedure is simple and the final result; we have the data in word as a
table.

I have two questions.

1. How can I format programmatically the page format from portrait to
landscape?
2. How can I increase programmatically the width columns

In access ADP if I increase the width column doesn’t save, next time, when I
open it the width is the same.

Thanks,
JP

Re: OutputTo to Word
John Nurick <j.mapSoN.nurick[ at ]dial.pipex.com> 19.09.2006 21:05:24
As far as I know you can only get this kind of control by writing VBA
code that automates Word and manipulates the page setup and the Word
table. This
http://word.mvps.org
is a good place for information on Word.

On Sat, 9 Sep 2006 06:35:01 -0700, Jose Perdigao
<JosePerdigao[ at ]discussions.microsoft.com> wrote:

[Quoted Text]
>I'm using docmd.OutputTo command to export data from a view or store
>procedure to Word.
>
>The procedure is simple and the final result; we have the data in word as a
>table.
>
>I have two questions.
>
>1. How can I format programmatically the page format from portrait to
>landscape?
>2. How can I increase programmatically the width columns
>
>In access ADP if I increase the width column doesn’t save, next time, when I
>open it the width is the same.
>
>Thanks,
>JP

--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net