Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table Borders
Message
From
06/06/2006 06:31:00
 
 
To
06/06/2006 05:45:36
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01127299
Message ID:
01127305
Views:
10
>hi all,
>
>my client's were running my vfp6 software on WIN98/Office 2000 Professional and while doing so through my software i was generating a MS WORD document which had tables in it through the following code -
>
>oWord.ActiveDocument.Tables.Add(oWord.Selection.Range, 1, 3)
>
>the above line of code used to create a table with horizontal and vertical borders.
>
>Now, my client has upgraded to WINXP PRO & MS OFFICE 2003 and the above line of code results in generating the table but NOT THE BORDERS.
>
>why is this happenning ? can someone give me a working solution to overcome the above ?? i need the borders to show for all the tables.
>
>with sincere thanks in advance.

Just add another parameter:
oWord.ActiveDocument.Tables.Add(oWord.Selection.Range, 1, 3, 1)
Previous
Reply
Map
View

Click here to load this message in the networking platform