+ Reply to Thread
Results 1 to 4 of 4

Vba code for copying a hidden sheet to a new workbook

  1. #1
    Registered User
    Join Date
    04-09-2010
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    14

    Vba code for copying a hidden sheet to a new workbook

    Hi All

    I'm new to VBA coding.....

    I'm trying to copy a hidden worksheet to a new workbook and i wrote a code for the same

    Please Login or Register  to view this content.
    So "sql" is the hidden sheet in HBR Provisioning Helper.xls and it is copied to a new Workbook, when the process is finished my active book is now is HBR Provisioning Helper.xls, but after hiding the sql sheet in HBR Provisioning Helper.xls i want to go back to the newly created book.

    Can someone help me with this?
    Last edited by ckattookaran; 04-09-2010 at 09:27 PM.

  2. #2
    Registered User
    Join Date
    04-09-2010
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Vba code for copying a hidden sheet to a new workbook

    I got it working....thank you
    Last edited by teylyn; 04-10-2010 at 02:54 AM.

  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Vba code for copying a hidden sheet to a new workbook

    Care to share your solution? Maybe someone else here might benefit.

    cheers

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Vba code for copying a hidden sheet to a new workbook

    Assuming this macro is IN the HBR Provisioning Helper.xls file, this is my suggestion:

    Please Login or Register  to view this content.
    Last edited by JBeaucaire; 04-10-2010 at 11:20 AM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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