What Line number am i on?? question 
Author Message
 What Line number am i on?? question

 I can't seem to see anything in word97 Vb or wd that will report the
current line number that the curser is on. Can anyone point me to the
right code.

thank you
--
(sc7wille)

Sent via Deja.com http://www.*-*-*.com/
Before you buy.



Tue, 29 Apr 2003 03:00:00 GMT  
 What Line number am i on?? question
Hi,

Quote:
> I can't seem to see anything in word97 Vb or wd that will report the
> current line number that the curser is on. Can anyone point me to the
> right code.

MsgBox Selection.Information(wdFirstCharacterLineNumber)

--
Hope this helps.
ibby

Please post replies or follow-ups to the **newsgroup** so that participants
may benefit or contribute.



Wed, 30 Apr 2003 15:51:07 GMT  
 What Line number am i on?? question
Hi Steve,

Use

MsgBox Selection.Information(wdFirstCharacterLineNumber)

Check out Selection.Information in the VBE help file for information on
other properties of the selection.

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:
> I can't seem to see anything in word97 Vb or wd that will report the
> current line number that the curser is on. Can anyone point me to the
> right code.

> thank you
> --
> (sc7wille)

> Sent via Deja.com http://www.deja.com/
> Before you buy.



Wed, 30 Apr 2003 16:09:50 GMT  
 What Line number am i on?? question
Thanks thats exactly what Im looking for works great.

(sc7wille)

Sent via Deja.com http://www.deja.com/
Before you buy.



Thu, 01 May 2003 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. PBM: Line numbers used by Goto method do not reflect displayed line numbers in document

2. With ref to Denies question re limiting number of lines in Text box (13\3\01)

3. Line numbers into multi-line text box

4. I am looking for a number to words module

5. I am getting duplicate records, I mean everything is duplicate even Access record number

6. I am looking for a few lines of VB code

7. Line Numbers: How can I put in Error line numbers?

8. Determine line number I am on from within VBScript?

9. Number format Question ? (decimal place question)

10. line numbers in order detail table

11. Expected:line number or label or statement or end of statement

12. number all the code lines !!!

 

 
Powered by phpBB® Forum Software