Application Development 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: 

How to give the border style for a table in MS word through SAP OLE?

0 Kudos

Hi SAPians,

I am able to give border style using code.

CALL METHOD OF
      p_gs_cell
      'BORDERS' = p_gs_border_l     
     EXPORTING
      #1        = '2'.                                    "left
SET PROPERTY OF p_gs_border_l 'LineStyle' = '7'."line style solid, dashed...
  SET PROPERTY OF p_gs_border_l 'WEIGHT'    = 4.      
  FREE OBJECT p_gs_border_l.

But after given border to table_1 if I am trying to give border to another table Table_2 using the same Subroutine, the previous table border is vanishing.

Any suggestions are welcome.

Please help me in this issue.

Thanks in advance.

Ravivarman P.

0 REPLIES 0