/scripts/ahub.form.attachments.js
0

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

Feb 07, 2017 at 06:04 AM

26

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers

Skip to Content