Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Greetings:
Is there a regular expression or wildcard in Word for "Start of line"? Example: a file of a thousand lines, each ending in a paragraph mark, and I need to insert a certain character at the beginning of each line. I can do it by working off the paragraph mark, but I'm used to systems where there is a start-of-line marker of some kind, and I'm curious that Word doesn't seem to have this option. Thanks for your help. I hope I'm lucid. /TJD |
#2
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Hi Karnak,
as lines depend on paper size, font properties and printer there is no "Start of line" marker. -- Greetings from Bavaria, Germany Helmut Weber, MVP WordVBA Win XP, Office 2003 "red.sys" & Chr$(64) & "t-online.de" |
#3
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
But based on one of Helmut's many simple macros posted in another forum
![]() you could use vba to insert your character(s) Dim oPrg As Paragraph For Each oPrg In ActiveDocument.Paragraphs With oPrg.Range.Words(1) .InsertBefore "Your character " End With Next http://www.gmayor.com/installing_macro.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Helmut Weber wrote: Hi Karnak, as lines depend on paper size, font properties and printer there is no "Start of line" marker. |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Convert Track Change Format to "Regular" Word Format | Formatting Long Documents | |||
Insert picture automatically as "behind" not "in line with text". | Microsoft Word Help | |||
why does a line appear when I press "shift" + "_" in my doc? | Microsoft Word Help | |||
why does a line appear when I press "shift" + "_" in my doc? | Microsoft Word Help | |||
Cancel capital letter at start of new line with a manual "enter" | Microsoft Word Help |