+ Reply to Thread
Results 1 to 8 of 8

Macro pulling & copying data from a very hidden worksheet

  1. #1
    Forum Contributor
    Join Date
    11-25-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    200

    Macro pulling & copying data from a very hidden worksheet

    Below is a macro that works perfectly until I hide the worksheet "template". What changes do I need to make to be able to "very hide" this worksheet. Thank you!





    Please Login or Register  to view this content.
    Last edited by backyardfun; 12-16-2013 at 10:21 PM.

  2. #2
    Forum Contributor
    Join Date
    11-25-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    200

    Re: Macro pulling & copying data from a very hidden worksheet

    Not sure what you mean but is my edited version ok?

  3. #3
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Macro pulling & copying data from a very hidden worksheet

    Quote Originally Posted by backyardfun View Post
    works perfectly until I hide the worksheet "template".
    Not sure if you meant it works fine until the point you want to hide the worksheet, or did the macro not work at all after you hide it.

    If it's working fine, add this line to very hide it.
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    11-25-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    200

    Re: Macro pulling & copying data from a very hidden worksheet

    It works fine until I hide it which is what I want to do. How can hide it and have the macro work?

  5. #5
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Macro pulling & copying data from a very hidden worksheet

    I don't think there's a need to make the sheet visible first for the macro to work. You can just set the sheet to very hidden through VBA editor. Press F4 to bring up the properties window, choose the worksheet ("Template") and look for the Visible property, and set it to very hidden.

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,705

    Re: Macro pulling & copying data from a very hidden worksheet

    You can't select on a hidden sheet. However, you're in luck. The code can be modified to do the same thing without Select. I have compiled but not tested this.

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    11-25-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    200

    Re: Macro pulling & copying data from a very hidden worksheet

    Perfect. Thanks a million!

  8. #8
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,705

    Re: Macro pulling & copying data from a very hidden worksheet

    You're very welcome! If your question has been answered please mark your thread as "Solved" so that members will know by looking at the thread title that your problem is solved.

    Go to the menu immediately above your first post to the thread and click on Thread Tools. From the dropdown menu select "Mark this thread as solved..."

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Copying from hidden/very hidden worksheet
    By backyardfun in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-16-2013, 09:10 PM
  2. [SOLVED] An Excel Macro for Pulling in Data from Another Worksheet Using A Search Cell
    By ereisman in forum Excel Programming / VBA / Macros
    Replies: 26
    Last Post: 03-07-2013, 01:52 PM
  3. Macro copying data from unopened worksheet to open worksheet
    By chriswiec in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-01-2013, 02:14 PM
  4. Macros - Copying Worksheet as a CSV File - Worksheet Hidden
    By jsomer2000 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-16-2011, 08:35 AM
  5. Macro Pulling Data from Hidden Sheet Creates Error
    By MrBill in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-14-2010, 02:17 PM

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