Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / December 2004

Tip: Looking for answers? Try searching our database.

How to know the index value of current table in a document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
animator - 27 Dec 2004 03:32 GMT
If there are several tables in my document, and the cursor is in one of
them.
How can I know which table the cursor is in?
How to get the index value, which I can use in the statement like:
ActiveDocument.Tables(index)
Greg Maxey - 27 Dec 2004 03:44 GMT
Use:

Selection.Tables(1).Something here

See:

http://word.mvps.org/FAQs/MacrosVBA/GetIndexNoOfPara.htm

Signature

Greg Maxey/Word MVP
A Peer in Peer to Peer Support

> If there are several tables in my document, and the cursor is in one
> of them.
> How can I know which table the cursor is in?
> How to get the index value, which I can use in the statement like:
> ActiveDocument.Tables(index)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.