Create a copy of workbook object

3 posts, 1 answers
  1. Dmitry
    Dmitry avatar
    5 posts
    Member since:
    Oct 2010

    Posted 07 Oct 2014 Link to this post

    I am wondering, is there a way to create a copy of workbook object?
  2. Answer
    Anna
    Admin
    Anna avatar
    99 posts

    Posted 08 Oct 2014 Link to this post

    Hello,

    Unfortunately, there isn't an out of the box way to create a copy of the workbook object. A possible workaround is to create a new workbook and copy each worksheet of the source workbook in it, as well as any other properties you would like to include. I've prepared a sample project illustrating this approach. It is by no means a comprehensive example, as it is limited to the content of the worksheets and the theme of the workbook. Other properties which can be included are for example the named ranges, the shapes and the name of the workbook.

    I hope this helps.

    Regards,
    Anna
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. DevCraft banner
  4. Dmitry
    Dmitry avatar
    5 posts
    Member since:
    Oct 2010

    Posted 08 Oct 2014 in reply to Anna Link to this post

    Thank you, it will suffice for now.
Back to Top