Finding Last Column in a Table

S

Sally

Hi, again. I just realized it would be better to ask the
experts how to search for and select the last column in a
table. Is this possible in MS WORD XP? Thanks.
 
D

Doug Robbins - Word MVP

I would not have thought that it was that hard to find the you would need
anything to do it for you.

The following code in a macro will do it however:

Selection.Tables(1).Columns(Selection.Tables(1).Columns.Count).Select


--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top