+ Reply to Thread
Results 1 to 2 of 2

auto hidding multiple sheets

  1. #1
    Registered User
    Join Date
    02-17-2011
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    15

    auto hidding multiple sheets

    The code below is intended to set the visibility property of several sheets, some I want seen, several I want hidden, and one I want deep hidden.

    It seems to work okay except when I add the deep hidden property and then I get the following message for the line shown in red below.

    Method 'Visible' of object'_Worksheet' failed

    Please Login or Register  to view this content.
    Last edited by wgog; 06-07-2011 at 08:12 PM. Reason: forgot to include a declaration

  2. #2
    Forum Contributor
    Join Date
    05-09-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    315

    Re: auto hidding multiple sheets

    Could it be because you don't have "" around the name of the sheet WelcomePage (should be "WelcomePage")?

    Dion

+ 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