Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Format Table using OLE-Word

Former Member
0 Likes
615

Hi,

I have inserted a table in a word document using OLE, but i can´t give column format. I need to align right the first column, but only the first cell is aligned.

To insert the table, i'm using,

GET PROPERTY OF gs_actdoc 'Tables' = gs_tables .

GET PROPERTY OF gs_selection 'Range' = gs_range .

CALL METHOD OF gs_tables 'Add' = gs_table

EXPORTING

#1 = gs_range " Handle for range entity

#2 = lv_lines "Number of rows

#3 = '2'. "Number of columns

What's the method to apply format to a column table ?

Thanks for help.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
445
2 REPLIES 2
Read only

Former Member
0 Likes
446
Read only

0 Likes
445