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

Calling An VB Macro in Excel Sheet from ABAP

Hi,

In our Project implementation there is a need of Formatting the Excel Shhet and displaying the Output. I know that OLE can do it. But OLE is taking a lot of time.

Someone came up with an idea where we can record a macro in Excel and then call the macro in someway from our program.

Can anybody elaborate on the way how we can Call this Excel macro. I really dont know how we can implement this.

Do anybody worked on these lines.And guide me.

Thanks in Advance,

Arunava

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 20, 2005 at 08:03 PM

    FUNCTION rh_start_excel_with_data allows you to download an internal table into a spreadsheet and fire a macro.

    Please reward points accordingly.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi John,

      It was really helpful.It solved one of my needs of opening the file in Excel in frontend.

      But could not get much how we can add the Macro Firing Capability. Where do I store this Macro Recorded and how to pass it.

      Please guide with this Macro capability.

      Thanks and Regards,

      Arunava

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.