VBA Express Forum  




Go Back   VBA Express Forum > VBA Code & Other Help > Word Help
     Feedback     
Register FAQ Members Arcade Knowledge Base Training Articles Consulting

Reply
 
Thread Tools Display Modes
Old 04-02-2012, 02:35 AM   #1
MacroShadow

 
Joined: Mar 2012
Posts: 151
Kb Entries: 0
Articles: 0
Style margins via VBA

How can the margins of a new style be set using VBA?

Local Time: 08:01 PM
Local Date: 05-22-2013
Location:

 
Reply With Quote Top
Old 04-02-2012, 08:37 AM   #2
Frosty

 
Joined: Feb 2011
Posts: 1,354
Kb Entries: 0
Articles: 0
Try recording a macro and adjusting the style. You'll get a whole host of things you can adjust.

But to be technical-- you can't adult margins via a style. Margins are a page setup kind of thing (a property of a section)... *Indents* are the right-left spacing on a paragraph you're probably referring to.

Local Time: 12:01 AM
Local Date: 05-23-2013
Location:

 
Reply With Quote Top
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -7. The time now is 09:01 PM.


Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright © 2004 - 2012 VBA Express