|
-
Jun 14th, 2010, 03:55 AM
#1
Thread Starter
New Member
through vbacode to set up customs margins in Word
Hello to all of the forum,
when I open a Word document, I have always to make again the layout of the Word document, to redimension the size of layout and customs margins,
as I work in office on a network, and the margisn are always on standard margins. 
When I want to write a text in Word, I need to change always the layout and margins.
Is it possible to change the layout and customs margins throug a vbacode. when I open the Word docuemnt and then mdoifying through thsi vbacode or a macro ?
I use Office 2003 and 2007 and using Windows XP and Windows Vista.
news
-
Jun 14th, 2010, 04:27 AM
#2
Re: through vbacode to set up customs margins in Word
Is it possible to change the layout and customs margins throug a vbacode.
Yes
but the best solution is to create a template with all the margins set as you want them, then open new documents based on that template
the templates for 2007 may need to be different, but i can't advise on that
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|