ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   moving cursor, may solve big problem (https://www.excelbanter.com/excel-programming/298314-moving-cursor-may-solve-big-problem.html)

Skyron[_9_]

moving cursor, may solve big problem
 
Perhaps this will solve everything.

While writing a VBA in excel controlling word, how can I move my curso
to the very end of the document in word?

I just can't seem to find the function/line!!

Shaw

--
Message posted from http://www.ExcelForum.com


Chip Pearson

moving cursor, may solve big problem
 
Try something like

WordApp.Selection.EndKey Unit:=wdStory



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Skyron " wrote in
message ...
Perhaps this will solve everything.

While writing a VBA in excel controlling word, how can I move

my cursor
to the very end of the document in word?

I just can't seem to find the function/line!!

Shawn


---
Message posted from http://www.ExcelForum.com/





All times are GMT +1. The time now is 04:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com