J
Juan M Afan de Ribera
Hi to everyone,
I need to move the cursor to the last position of a word document. By now, I
have found a way to do it and it seems to work
Dim r As Range
On Error Resume Next
Set r = ActiveDocument.Paragraphs(1).Range
r.Move wdParagraph, ActiveDocument.Range.Paragraphs.Count
r.Select
Set r = Nothing
On Error GoTo 0
but I am not sure that this is the correct one.
Any ideas?
TIA.
--
Access... también exiSte...!!
Saludos,
Juan M. Afán de Ribera
[MVP Access]
http://accessvbafaq.mvps.org
http://www.mvp-access.com/juanmafan
I need to move the cursor to the last position of a word document. By now, I
have found a way to do it and it seems to work
Dim r As Range
On Error Resume Next
Set r = ActiveDocument.Paragraphs(1).Range
r.Move wdParagraph, ActiveDocument.Range.Paragraphs.Count
r.Select
Set r = Nothing
On Error GoTo 0
but I am not sure that this is the correct one.
Any ideas?
TIA.
--
Access... también exiSte...!!
Saludos,
Juan M. Afán de Ribera
[MVP Access]
http://accessvbafaq.mvps.org
http://www.mvp-access.com/juanmafan