How to copy the spreadwheet with in same Workbook along with Macro using Open XML SDK RRS feed

  • Question

  • Hi,

    Using OPM XML SDK 2.5 , i am trying to Create copy of a worksheet in same workbook. the source Worksheet is having a button control and a macro is assigned to this button.

    When I create a copy of source work sheet, all the data and Button controls are copied into second worksheet in same work book. But macro assignment is not happening for the Button in second sheet. Could you please help me out on this how to assign macro code  to the button using OpenXML.

    Thank you,


    Thursday, July 11, 2013 9:27 AM

All replies

  • Hi Kishan,

    Thank you for posting in the MSDN Forum.

    I'm trying to involve some senior engineers into this issue and it will take some time. Your patience will be greatly appreciated.

    Sorry for any inconvenience and have a nice day!

    Best regards,

    Quist Zhang [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Friday, July 12, 2013 9:59 AM