gruntydatsun Posted November 2, 2008 Share Posted November 2, 2008 (edited) Hey Guys,I'm looking for advice on writing a script that will:create a new MS Word Document DONEset orientation to landscape write a string to the MS Word file DONEresize the font of string to maximum possible on one lineAny advice would be much appreciated. Edited November 3, 2008 by gruntydatsun Link to comment Share on other sites More sharing options...
Bert Posted November 3, 2008 Share Posted November 3, 2008 Look at the visual basic help in Word for the object model. You can use that to do it. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted November 3, 2008 Moderators Share Posted November 3, 2008 Hey Guys, I'm looking for advice on writing a script that will: create a new MS Word Document DONEset orientation to landscape write a string to the MS Word file DONEresize the font of string to maximum possible on one line Any advice would be much appreciated.Global $wdOrientLandscape = 1 $oDoc.PageSetup.Orientation = $wdOrientLandscape Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now