+ Reply to Thread
Results 1 to 2 of 2

How to copy sheet to new book without sheet module code?

  1. #1
    Registered User
    Join Date
    06-08-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1

    How to copy sheet to new book without sheet module code?

    I copy specific sheets from one book into a new book but I don't want any VBA code in the new book. One sheet, however, has code in the sheet module. How can I copy it without the code or remove the code in the destination book?

    For the copy, I'm simply using...
    Sheets(Array(sShtName1, sShtName2, sShtName3, sShtName4)).Copy

    Assume sShtName4 has the sheet code.

    Thanks,
    Melina

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: How to copy sheet to new book without sheet module code?

    Melina,

    To ensure there is no VBA code in the new book, just save it as a .xlsx file. The following could should accomplish what you're looking for:
    Please Login or Register  to view this content.


    Hope that helps,
    ~tigeravatar

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1