Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to check if current paragraph/line is the last?

Status
Not open for further replies.

565u

Technical User
Apr 25, 2005
46
CZ
Hi and thanks for reading my post. This is something I have been working around for years and it's been always very difficult and cumbersome. I just cannot figure out (in vb 6.3) how to find out whether the current (where the insertion point is) paragraph or line is the last in the document. I need to stress that I don't need to do "something" to every paragraph in the document. But often I need to do something to every paragraph or line from the insertion point till the end of the document and I have no idea how to check whether I have already reached it or not.

Could anybody kindly help me please?


Best regards,


Pavel
 

VB6.3 is the current version of VBA. It looks from your question like VBA for Word - you will do better in forum707 as this forum is specifically for VB5 and 6.

___________________________________________________________
If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
Steam Engine Prints
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top