Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Excel Macro with parameters calling from ABAP

Hello experts,

I need to call an Excel Macro from ABAP, I am using  i_oi_document_proxy->execute_macro, but when I execute I dont know how to 'accept' the parameters in my Macro, and to make it even harder for example when I declare parameters in my Macro as below:

Public Sub Macro3(v_start as String, v_end as String)

'

' Macro3 Macro

'

'

    Range("A1:A29").Select

    Selection.Rows.Group

End Sub

The Excel won't recognize my Macro and SAP won't call it

I hope I was clear,

Regards,

Dren

Tags:
Not what you were looking for? View more on this topic or Ask a question