12-10-2015 8:07 AM
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~
12-10-2015 9:50 AM
First step should be recording of a macro in Excel. Then analyze the generated macro source and translate it to Abap/OLE2.
Regards,
Raymond
12-10-2015 9:50 AM
First step should be recording of a macro in Excel. Then analyze the generated macro source and translate it to Abap/OLE2.
Regards,
Raymond
12-10-2015 10:39 AM
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。
12-10-2015 10:56 AM
There is a document describing this method (VBA Macro to Abap) Copying data from Microsoft Excel to ABAP using OLE.
Regards,
Raymond
12-10-2015 11:02 AM