Getting, Setting Cursor Position

D

Donald A. Herman

Not sure what group really to post Programming.Com.Addins is no longer.
(uhm) So anyway I'll try.

Creating a new addin for FP with the idea of the VBA's "Last Position"
command. This would be very handy for me at least. If you have a long page,
I hate trying to find the last spot I was at like when adding bookmarks and
links.

Unless I am missing something, the only way I see is using IHTMLTxtRange.
And this is almost useless except for copying and pasting find and replace.
I need to create reference points.

But anyway if I use myRange.expand "word"
that word could on the page 100 times

if I use myRange.expand "sentence"
that selects the whole page ????????? duh!

I looked in the object browser for words like Position, selection, cursor I
don't see anything. In VB I get or set any part code documents with ease.

--
Donald A. Herman
Software - Scheduler Pro, Disk Cataloger, Math Wizard
http://don_herman.tripod.com
Office Extras, Addins
http://don_herman.tripod.com/msoextras
..
..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top