I've created a word macro that will insert a character (`) at the beginning of each line in a newly created document. Problem I'm having is that the second line of the document isn't receiving the character.
Here is the code in question:
----------------------------------------
If you are reading this, then you have read too far...
lightwarrior@hotmail.com
Here is the code in question:
Code:
LoopVar = myRange.ComputeStatistics _
(wdStatisticParagraphs)
Selection.HomeKey Unit:=wdStory
Selection.HomeKey Unit:=wdLine
Selection.TypeText Text:="`"
For x = 1 To LoopVar
Selection.MoveDown Unit:=wdLine
Selection.HomeKey Unit:=wdLine
Selection.TypeText Text:="`"
Next x
If you are reading this, then you have read too far...
lightwarrior@hotmail.com