Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.pagelayout
Carygee Carygee is offline
external usenet poster
 
Posts: 2
Default Creating a 3-column section style

I often create sections within a document that have three equal-sized
columns with custome small gutters etc. It's a bore to do this time and
time again.

How can I set up a section style which will contain paragraph and column
spacing settings etc.? Can one also add, say, auto hyphenation to this
style?
  #2   Report Post  
Posted to microsoft.public.word.pagelayout
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Creating a 3-column section style

You can't create a 'style' as such, but you could store your preferences in
a macro to apply the section break, columns and hyphenation eg

Sub ThreeCols()
Dim sView As String
sView = ActiveWindow.View
ActiveWindow.View.Type = wdPrintView
Selection.InsertBreak Type:=wdSectionBreakContinuous
With Selection.PageSetup.TextColumns
.SetCount NumColumns:=3
.EvenlySpaced = False
.LineBetween = False
.Width = CentimetersToPoints(3.55)
.Spacing = CentimetersToPoints(1)
End With
ActiveDocument.AutoHyphenation = True
ActiveWindow.View = sView
End Sub

http://www.gmayor.com/installing_macro.htm

The width of the columns and the spacing between them can be set to match
your preferences.


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Carygee wrote:
I often create sections within a document that have three equal-sized
columns with custome small gutters etc. It's a bore to do this time
and time again.

How can I set up a section style which will contain paragraph and
column spacing settings etc.? Can one also add, say, auto hyphenation
to this style?



  #3   Report Post  
Posted to microsoft.public.word.pagelayout
Carygee Carygee is offline
external usenet poster
 
Posts: 2
Default Creating a 3-column section style

Thanks loads. And I learned a lot in the process. I also had to adapt it
to Word 2007 norms (Took ages to find and install the "Developer" tab).

Unfortunately, I couldn't save the macro "due to a file permission
error" whatever this means. (Oh please don't tell me this is a revival
of the Live One Care bug)

Graham Mayor wrote:
You can't create a 'style' as such, but you could store your preferences in
a macro to apply the section break, columns and hyphenation eg

Sub ThreeCols()
Dim sView As String
sView = ActiveWindow.View
ActiveWindow.View.Type = wdPrintView
Selection.InsertBreak Type:=wdSectionBreakContinuous
With Selection.PageSetup.TextColumns
.SetCount NumColumns:=3
.EvenlySpaced = False
.LineBetween = False
.Width = CentimetersToPoints(3.55)
.Spacing = CentimetersToPoints(1)
End With
ActiveDocument.AutoHyphenation = True
ActiveWindow.View = sView
End Sub

http://www.gmayor.com/installing_macro.htm

The width of the columns and the spacing between them can be set to match
your preferences.


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Style applied to 1 graf creates 2 instances of style. section prob asym Microsoft Word Help 5 January 12th 07 09:36 PM
Creating a second column in a table danhattan Microsoft Word Help 6 November 8th 06 05:41 PM
Help! continuous section break within column Angelina Microsoft Word Help 2 March 20th 06 08:36 PM
Style - Creating 2 column Tables Janet Microsoft Word Help 5 April 22nd 05 02:08 AM
Column/Section breaks paul Page Layout 5 April 8th 05 05:00 PM


All times are GMT +1. The time now is 06:51 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"