Jump to content
Sign in to follow this  
erik7426

Help with Word and page margins

Recommended Posts

erik7426

I have used Word.au3 in the past for simple manipulation of Word docs, but I need something that is capable of opening an existing document, changing the font and font size of the document, and changing the page margins. Can anyone help me out?

Share this post


Link to post
Share on other sites
Andreik

I have used Word.au3 in the past for simple manipulation of Word docs, but I need something that is capable of opening an existing document, changing the font and font size of the document, and changing the page margins. Can anyone help me out?

Look in help file about _Word functions, especially _WordPropertySet.

Hope that helps.


When the words fail... music speaks

Share this post


Link to post
Share on other sites
erik7426

Look in help file about _Word functions, especially _WordPropertySet.

Hope that helps.

I wish it were that simple. There are provisions in the _WordPropertySet function that allow you to modify page margins or font size...

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.