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 2006

Tip: Looking for answers? Try searching our database.

Highlight entire Column(2) in a table

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alan Z. Scharf - 07 Dec 2006 17:43 GMT
Hi,

I want to highlight the entire Column(2) of a table in VBA so that I can
then format all the paragraphs in Column(2) at once.

What is the syntax for Selecting and Highlighting the entire Column(2)?

Thanks.

Alan
Jean-Guy Marcil - 07 Dec 2006 17:56 GMT
Alan Z. Scharf was telling us:
Alan Z. Scharf nous racontait que :

> Hi,
>
[quoted text clipped - 3 lines]
> What is the syntax for Selecting and Highlighting the entire
> Column(2)?

ActiveDocument.Tables(1).Columns(2).Select

But watch out for merged cells...

Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org

Alan Z. Scharf - 08 Dec 2006 18:17 GMT
John-Guy,

Thanks very much!

Alan

> Alan Z. Scharf was telling us:
> Alan Z. Scharf nous racontait que :
[quoted text clipped - 18 lines]
> jmarcilREMOVE@CAPSsympatico.caTHISTOO
> Word MVP site: http://www.word.mvps.org
Jean-Guy Marcil - 08 Dec 2006 21:58 GMT
Alan Z. Scharf was telling us:
Alan Z. Scharf nous racontait que :

> John-Guy,
>
> Thanks very much!

Allen ;-)

You're welcome!

Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org

 
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.