P
Phil Horwood
I'm a Word VBA newbie trying to write a macro that inserts
a line number at the start of every line in a Word 2000
document. I can get it working with a For... Next loop,
but ideally I want to use a While... Wend loop that checks
that the insertion point is not at the end of the document
before inserting the next sequential number at the start
of the line.
Other newsgroups have suggested using the AtEndOfDocument
function, but I can't seem to find this in Word 2000 VBA.
Any help would be greatly appreciated. Thanks.
a line number at the start of every line in a Word 2000
document. I can get it working with a For... Next loop,
but ideally I want to use a While... Wend loop that checks
that the insertion point is not at the end of the document
before inserting the next sequential number at the start
of the line.
Other newsgroups have suggested using the AtEndOfDocument
function, but I can't seem to find this in Word 2000 VBA.
Any help would be greatly appreciated. Thanks.