+ Reply to Thread
Results 1 to 4 of 4

Macros connected to a hidden sheet

  1. #1
    Forum Contributor
    Join Date
    10-31-2006
    Location
    Oslo, Norway
    MS-Off Ver
    MS 365 Business
    Posts
    286

    Macros connected to a hidden sheet

    I have a macro which copy text from a sheet (sheet-1) and paste it into another sheet.

    I want sheet-1 to be hidden, or even better, very-hidden, but when I hide sheet-1 the macro run fails. Respons Run-time error '1004'...

    Is it a solution around this 'problem' or does sheet-1 always has to be visible ?
    Last edited by Saturn; 02-14-2014 at 08:00 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Macros connected to a hidden sheet

    The macro probably uses range.select to perform copy/paste which is completely unnecessary.. You can copy data from a very hidden sheet.

    This would suffice
    Please Login or Register  to view this content.
    Last edited by AndyLitch; 02-14-2014 at 06:37 AM.
    Elegant Simplicity............. Not Always

  3. #3
    Forum Contributor
    Join Date
    10-31-2006
    Location
    Oslo, Norway
    MS-Off Ver
    MS 365 Business
    Posts
    286

    Re: Macros connected to a hidden sheet

    Great!
    Sheet-1 become sheet-2 and vv. so after this correction it works!

  4. #4
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Macros connected to a hidden sheet

    glad to hear it

+ 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. File Path in UserForm connected to macros
    By 3nduranc3 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-08-2013, 09:18 AM
  2. Replies: 5
    Last Post: 02-17-2010, 02:02 PM
  3. VBA Function Vlookup data from Hidden sheet in hidden workbook
    By wotadude in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-16-2008, 11:22 PM
  4. Replies: 2
    Last Post: 07-20-2006, 02:51 PM
  5. [SOLVED] Where are the hidden macros?
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-21-2005, 06:05 AM

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