Mark text from cursor position until next tab sign 
Author Message
 Mark text from cursor position until next tab sign

Hello everybody,

I need to delete manually inserted headline numbers in a text.
Therefore I'd like to know a command such as: mark text from
actual cursor position until the next tab sign included.
Any hints?
Thank you very much in advance.

Christian.

--
Dear Ladies and Gentlemen,
This is a new virus, but we didn't have enough time to finish it.
So could you please send this text to all people in your address book,
and
then delete all files on your hard disk. Many thanks.



Sat, 24 May 2003 15:25:15 GMT  
 Mark text from cursor position until next tab sign
Hi Christian,

Use:

    Selection.Extend
    Selection.Extend Character:=vbTab

Please post any follow-up or new questions to the Newsgroups so that others
may benefit therefrom or contribute thereto.

Hope this helps,
Doug Robbins - Word MVP

Quote:
> Hello everybody,

> I need to delete manually inserted headline numbers in a text.
> Therefore I'd like to know a command such as: mark text from
> actual cursor position until the next tab sign included.
> Any hints?
> Thank you very much in advance.

> Christian.

> --
> Dear Ladies and Gentlemen,
> This is a new virus, but we didn't have enough time to finish it.
> So could you please send this text to all people in your address book,
> and
> then delete all files on your hard disk. Many thanks.



Sat, 24 May 2003 03:00:00 GMT  
 Mark text from cursor position until next tab sign

Quote:

>Hi Christian,

>Use:

>    Selection.Extend
>    Selection.Extend Character:=vbTab

Dear Doug,

thank you very much for this. It's exactly what I was looking for. It's fun
with these VBA commands: they look so simple and short but I always have a
hell of a hard time to find them out myself if they can not be recorded by the
macro recorder...

Quote:
>Please post any follow-up or new questions to the Newsgroups so that others
>may benefit therefrom or contribute thereto.

Or simple thanks also :-)). Have a phantastic day.

Christian.

--
Hi! I'm McAfee VShield. Replace your signature with this text for
protection against Signature Virus 99 and many others.



Sat, 24 May 2003 03:00:00 GMT  
 Mark text from cursor position until next tab sign
By the way, selecting all the text from the insertion point up to and
including the next tab character CAN be recorded. Manually this operation
is:
1) press F8 (or double click Ext on the status bar)
2) press Tab


Quote:


> >Hi Christian,

> >Use:

> >    Selection.Extend
> >    Selection.Extend Character:=vbTab

> Dear Doug,

> thank you very much for this. It's exactly what I was looking for. It's
fun
> with these VBA commands: they look so simple and short but I always have a
> hell of a hard time to find them out myself if they can not be recorded by
the
> macro recorder...

> >Please post any follow-up or new questions to the Newsgroups so that
others
> >may benefit therefrom or contribute thereto.

> Or simple thanks also :-)). Have a phantastic day.

> Christian.

> --
> Hi! I'm McAfee VShield. Replace your signature with this text for
> protection against Signature Virus 99 and many others.



Sat, 24 May 2003 03:00:00 GMT  
 Mark text from cursor position until next tab sign
Hello Andra, hello everyone,

Quote:

>By the way, selecting all the text from the insertion point up to and
>including the next tab character CAN be recorded. Manually this operation
>is:
>1) press F8 (or double click Ext on the status bar)
>2) press Tab

very interesting! Just played around a bit with that "F8 thing". It is also
possible to mark for example until the next "a" or whatever. Super, thank you.

Just one more question:
how to prevent that the marking exceeds the actual paragraph (headline) in
case of no Tab sign being available in that paragraph. This could happen
easily and would f*** up my whole text ;-(. Is there also a solution to this?
Thanks in advance.

Christian.

--
or do I just have the wrong problem?



Sun, 25 May 2003 15:39:44 GMT  
 Mark text from cursor position until next tab sign
Selection.Paragraphs.Count > 1


Quote:
> Hello Andra, hello everyone,


> >By the way, selecting all the text from the insertion point up to and
> >including the next tab character CAN be recorded. Manually this operation
> >is:
> >1) press F8 (or double click Ext on the status bar)
> >2) press Tab

> very interesting! Just played around a bit with that "F8 thing". It is
also
> possible to mark for example until the next "a" or whatever. Super, thank
you.

> Just one more question:
> how to prevent that the marking exceeds the actual paragraph (headline) in
> case of no Tab sign being available in that paragraph. This could happen
> easily and would f*** up my whole text ;-(. Is there also a solution to
this?
> Thanks in advance.

> Christian.

> --
> or do I just have the wrong problem?



Sun, 25 May 2003 03:00:00 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. Causing the cursor moves to next tab stop when a field has reached its maximum

2. Text box cursor position when text is selected

3. Highlighting Text with Tab to next Control in VB5

4. Cursor position in text box

5. insert text at cursor position

6. Add text at cursor position?

7. Positioning the Cursor in the first text box of a User Form

8. Text Cursor Position in document

9. Setting cursor position in combobox text area

10. Text Cursor Position in document

11. Help setting cursor position in a text box

12. Finding Cursor Position In Text Box

 

 
Powered by phpBB® Forum Software