A1VBCode Forums

Word, VB.NET, section breaks


http://www.a1vbcode.com/vbforums/Topic25557.aspx

By Johan Marais - 8/9/2008

I need to add a section break to a Word document to change from one column to two columns. The only break I find is a page break like



oWord.Selection.InsertBreak()



When I add the columns like this



oWord.Selection.PageSetup.TextColumns.SetCount(NumColumns:=2)



it changes the whole document to two columns, something I do not want. I understand that I need to add section break but how? Thanks for the help.
By bezita - 1/22/2009

may be your computer has affected virus maybe you should check it first good luckWink