Highlight entire Column(2) in a table

A

Alan Z. Scharf

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
 
J

Jean-Guy Marcil

Alan Z. Scharf was telling us:
Alan Z. Scharf nous racontait que :
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)?

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

But watch out for merged cells...

--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
A

Alan Z. Scharf

John-Guy,

Thanks very much!

Alan

Jean-Guy Marcil said:
Alan Z. Scharf was telling us:
Alan Z. Scharf nous racontait que :


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

But watch out for merged cells...

--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
J

Jean-Guy Marcil

Alan Z. Scharf was telling us:
Alan Z. Scharf nous racontait que :
John-Guy,

Thanks very much!

Allen ;-)

You're welcome!

--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

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