Skip to Content
author's profile photo Former Member
Former Member

OLE - Translate from VB to Abap

Hi All,

I'm writing a program in OLE that creates a Word document with a table


I want to change the rows width. I run a macro in Word and I got this VB

code :

Selection.Tables(1).Rows(3).SetHeight RowHeight:=33.85, HeightRule:= _


I tried to translate to abap:

get property of gs_tables 'Rows' = gs_rows.

CALL METHOD OF gs_rows 'SetHeight'


#1 = '33.85' .

but it doesn't work. I know I need to put somewhere the row number..

Does any one have any idea ?



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Sep 27, 2005 at 08:22 AM


    Check this link.May be it can help you.If so,kindly reward points by clicking the star on the left of reply.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.