warmreboot
11-22-2004, 06:47 PM
Hi,
Can someone show me how to insert string in front of every paragraph in a Word document? Thanks!
Can someone show me how to insert string in front of every paragraph in a Word document? Thanks!
Insert String in Paragraphwarmreboot 11-22-2004, 06:47 PM Hi, Can someone show me how to insert string in front of every paragraph in a Word document? Thanks! MKoslof 11-24-2004, 08:18 PM You could try something like: Public Sub beforePara() Dim mypara As Paragraph For Each myPara In ActiveDocument.Paragraphs If myPara.Range.Text <> vbCr Then myPara.Range.InsertBefore "HERE IS MY NEW LINE TO ADD" End If Next myPara End Sub warmreboot 11-24-2004, 08:22 PM Thanks! MKoslof 11-24-2004, 08:22 PM No problem, good luck :) |
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum