Re: scripting MS WOrd
From: Joe Fawcett (joefawcett_at_hotmail.com)
Date: 02/24/04
- Next message: Jeff Cochran: "Re: File Version Comparison"
- Previous message: kironline_at_hotmail.com: "Re: Remote disk space analysis"
- In reply to: Torgeir Bakken (MVP): "Re: scripting MS WOrd"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 24 Feb 2004 09:11:12 -0800
Also rather than rely on ActiveDocument:
Const wdPaperA4 = 7
Dim oDoc
Set objWordApp = CreateObject("Word.Application")
Set oDoc = objWordApp.Document.Open("C:\SomeText.dot")
oDoc.PageSetup.PaperSize = wdPaperA4
Joe
- Next message: Jeff Cochran: "Re: File Version Comparison"
- Previous message: kironline_at_hotmail.com: "Re: Remote disk space analysis"
- In reply to: Torgeir Bakken (MVP): "Re: scripting MS WOrd"
- Messages sorted by: [ date ] [ thread ]