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

Bex Excel VBA Save Workbook as New Workbook

Hi All,

I'm trying to write VBA to save a workbook back to the SAP server with a new name. Basically the code will have to emulate the "save as new workbook" button on the on the bex toolbar except we would already have the new name defined. I know there is a vba function sapbexsaveworkbook but I don't believe it can accomplish what I want to do.

Any help would be greatly appreciated.

Thanks,

Jon

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 09, 2004 at 11:48 PM

    Jon,

    The BEx API Function you are referring to would be called with the following line of code:

    Run "SAPBEX.XLA!saveNewWorkbook"

    I think it will do exactly what you describe that you want. Try it, and if it does not do exactly what you want, please explain.

    - Pete

    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.