thank
john
Selection.ParagraphFormat.Alignment = wdAlignParagraphRight
Mark Baird
"John Parker" <john....@blackwell.com> wrote in message
news:eDBsMnQ1BHA.2228@tkmsftngp07...
"Mark Baird" <mbai...@hotmail.com> wrote in message
news:u9POiXV1BHA.1372@tkmsftngp02...
There are multiple options available.
----------------------------------------------------------------------------
------------------
You can select the cell.
ActiveDocument.Tables(1).Cell(2, 4).Select
----------------------------------------------------------------------------
------------------
If you already know what cell it is you may as well use the Range object.
' Current table cursor is in and the cell in row two column 4.
Selection.Tables(1).Cell(2, 4).Range.ParagraphFormat.Alignment =
wdAlignParagraphRight
' Second table in the document.
ActiveDocument.Tables(2).Cell(2, 3).Range.ParagraphFormat.Alignment =
wdAlignParagraphRight
----------------------------------------------------------------------------
------------------
Set the alignment in every cell in every table in the document..
Dim wrdCell As Cell
Dim wrdTable As Table
' Move through each table and each cell in those tables.
For Each wrdTable In ActiveDocument.Tables
For Each wrdCell In wrdTable.Range.Cells
wrdCell.Range.ParagraphFormat.Alignment = wdAlignParagraphRight
Next wrdCell
Next wrdTable
Mark Baird
"John Parker" <john....@blackwell.com> wrote in message
news:#5yLAhb1BHA.1960@tkmsftngp03...