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.

Detecting what table the insertion point is in

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Roy - 24 Dec 2004 12:36 GMT
Hi all,

A quick question.  How can I tell what table in a Word
document the insertion point is in.  The macro I am
writing does a search for certain text items, when there
is a hit it needs to know what table the selected text is
in so that the table can be selected, and manipulated.  I
need to be able to perform commands like:

ActiveDocument.Tables(????).Select

after I have done the find, question is how do I get the
index?

Any help appreciated, as I am not sure how to go about
this one.

Cheers

Roy
Greg Maxey - 24 Dec 2004 13:35 GMT
Roy,

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

Signature

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

> Hi all,
>
[quoted text clipped - 16 lines]
>
> Roy
Roy - 30 Dec 2004 15:34 GMT
Thank you very much for your reply Greg - the link you
sent was spot on.  Sorry for the delay in reply, been on
holiday.

Cheers

Roy

>-----Original Message-----
>Roy,
[quoted text clipped - 24 lines]
>
>.

Rate this thread:






 
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.