M
mirin
Hi,
1. I need to move the insertion point to the end of the section where
the current insertion point is.
I use the below code:
intSecNum = Selection.Information(wdActiveEndSectionNumber)
ActiveDocument.Sections(intSecNum).Range.Collapse wdCollapseEnd
But the insertion point remains where it is.
I am not getting something right here. Can you please advise?
2. Also, the help says:
Collapse Method: Collapses a range or selection to the starting or
ending position. After a range or selection is collapsed, the starting
and ending points are equal.
What does the phrase "the starting and ending points are equal" mean?
Does it mean that the collapsed range or selection should disappear
(which anyhow doesn't seem to be the case) leaving a single insertion
point in it's place?
On another note, for me the word "collapse" is more closer in meaning
to "implode" so I don't understand quite understand whether the usage
here could be intuitive enough for newbies like me.
Many Thanks,
M
1. I need to move the insertion point to the end of the section where
the current insertion point is.
I use the below code:
intSecNum = Selection.Information(wdActiveEndSectionNumber)
ActiveDocument.Sections(intSecNum).Range.Collapse wdCollapseEnd
But the insertion point remains where it is.
I am not getting something right here. Can you please advise?
2. Also, the help says:
Collapse Method: Collapses a range or selection to the starting or
ending position. After a range or selection is collapsed, the starting
and ending points are equal.
What does the phrase "the starting and ending points are equal" mean?
Does it mean that the collapsed range or selection should disappear
(which anyhow doesn't seem to be the case) leaving a single insertion
point in it's place?
On another note, for me the word "collapse" is more closer in meaning
to "implode" so I don't understand quite understand whether the usage
here could be intuitive enough for newbies like me.
Many Thanks,
M