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 CREATE AN LINEGROUP ON OLE

former_member2755
Discoverer
0 Kudos

dear all:

           I would like to ask you a question about the OLE,

           I use grammar  :CALL METHOD OF range 'GROUP'.

           this  is  column grouping

           HOW TO CREATE AN LINEGROUP ON OLE

           think you verymuch~

            

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

First step should be recording of a macro in Excel. Then analyze the generated macro source and translate it to Abap/OLE2.

Regards,

Raymond

4 REPLIES 4

raymond_giuseppi
Active Contributor
0 Kudos

First step should be recording of a macro in Excel. Then analyze the generated macro source and translate it to Abap/OLE2.

Regards,

Raymond

0 Kudos

thank you  very much!but excel  macro is 


    Range("A4:B6").Select

    Selection.Rows.Group

I refer to table OLELOAD find field  GROUP

I try it and Answer this is right。

CALL METHOD OF range 'GROUP'

         EXPORTING

         #1 = '1'.

       m_message.


But I don't really understand the relationship between it.


please tell me how can i analyze the grammar。


think you very much。



0 Kudos

There is a document describing this method (VBA Macro to Abap) Copying data from Microsoft Excel to ABAP using OLE.

Regards,

Raymond

0 Kudos

Thank you very much for your help.