S
SAM
Hi!
I have a document (word 2003) with text and i wish insert some text in some diferent
locations.
How can i create a subroutine to move the insertion point in relation of the top of the
page or document?
private sub set_position(lines as integer)
rem lines as the number of lines i wish move down from the top of page/doc
dim range1 as range
set range1=application.activedocument.range(0.0)
rem convert range at insertion point
range1.collapse(wdEnd)
range1.movedown(lines)
end sub
i have very confused with objects "range" and "selection" ....
thansks!
I have a document (word 2003) with text and i wish insert some text in some diferent
locations.
How can i create a subroutine to move the insertion point in relation of the top of the
page or document?
private sub set_position(lines as integer)
rem lines as the number of lines i wish move down from the top of page/doc
dim range1 as range
set range1=application.activedocument.range(0.0)
rem convert range at insertion point
range1.collapse(wdEnd)
range1.movedown(lines)
end sub
i have very confused with objects "range" and "selection" ....
thansks!