Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Automation - Word2002 vs. Word97
Message
From
07/11/2002 15:36:53
Patrick O'Neil
American Specialty Information Services
Roanoke, Indiana, United States
 
 
To
07/11/2002 15:07:02
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00716139
Message ID:
00720022
Views:
16
> to no avail. Each of those seem to affect the contents of the table
> instead of the RANGE which includes the table.
>
> Any help here ?


don -

you are right that you cannot grab the table and center it.
if you try to do it manually, you will see that you must move the
leftmost line and move the right-most line, then redistribute the
column widths appropriately.

do the same thing in code, with the word objects.

you will need to get the page width and specify the table width.

not just for this question, but a handy thing to do (you might
already do this).... to find out how to do things, start recording
a macro, do what you want to program, end the macro and look at
the resulting code. it is almost always more complicated than
what it needs to be, but it's a beginning point.
patrick
Previous
Reply
Map
View

Click here to load this message in the networking platform