How can I manipulate Word table cell alignment from Excel?

T

tim

Hi everyone

I am writing an Excel application that creates and then formats a Word table
in a new document. I want to be able to set the cell alignment using VBA to
Centred. I have tried using the Range object but to no avail. I also tried
running a macro in Word, referring to the VBA code it generates but it refers
to the Selection object that does not work inside the VBA I am using in Excel
(I already set a reference to the Word Object library).

Can anyone help?

Tim
 
Top