A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Tables
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Finding Last Column in a Table



 
 
Thread Tools Display Modes
  #1  
Old May 13th, 2004, 02:04 AM
Sally
external usenet poster
 
Posts: n/a
Default Finding Last Column in a Table

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.
  #2  
Old May 14th, 2004, 07:03 AM
Doug Robbins - Word MVP
external usenet poster
 
Posts: n/a
Default Finding Last Column in a Table

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).Co lumns.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
"Sally" wrote in message
...
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.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:53 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.