Center a table in Word from Access 2K
This is driving me nuts. I am automating Word from inside Access and it works great. What I can't figure out is how to center an entire table in the document. I tried selection.paragraphformat.alignment = (centered), and this works magnificently to center the contents in the cells of the table, but what I need to do is center the table on the page. Anybody know how to do this? Any help appreciated. TIA.
Re: Center a table in Word from Access 2K
Welcome to the Forums. :)
Try this for the first table.
VB Code:
Selection.Tables(1).Rows.Alignment = wdAlignRowCenter