"JBusby" wrote:
> Thanks for responding, Jonathan.
> Your response provides me with the perfect comment to describe the coding
> itself. But my attempts at "the coding itself" - without much knowledge or
> experience in VBA - haven't been very successful.
> By recording a macro, I was able to copy the code that seemed relevant to
> the task, but to no avail:
What does "but to no avail" mean exaclty? If you want a solution to a
specific problem, specfic details would be useful. :-)
I assume you ran the code you posted on a cell.
What did the cell contain?
How is the row formatted?
What were your expectations?
What did you observe?
Meanwhile, I do not have access to a Word 2007 machine, but the following
code ran just fine:
With Selection.Cells(1)
.Range.ParagraphFormat.Alignment = wdAlignParagraphLeft
.VerticalAlignment = wdCellAlignVerticalCenter
End With
I guess you only need to change
wdCellAlignVerticalCenter
by
wdCellAlignVerticalJustify
(Verticall justification of cells is not available in 2003, so I can't test
that part... but be aware that generally, vertical justification does not
always produce the desired results..., I have used it in sections with
varying degrees of satisfaction... Also, keep in mind that empty paragraphs
are also "justified".)