+ Reply to Thread
Results 1 to 6 of 6

would this code find a worksheet that his hidden ?

  1. #1
    Registered User
    Join Date
    07-22-2005
    Location
    canada
    Posts
    73

    would this code find a worksheet that his hidden ?

    Hello,

    I have this code which looks for a sheet with the chosen name, if it's there it simply adds a one to the existing count.

    Please Login or Register  to view this content.
    anybody know if this will find hidden sheets ?


    Thanks in advance,

    spyrule

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482
    Did you try it?

  3. #3
    Registered User
    Join Date
    07-22-2005
    Location
    canada
    Posts
    73

    actually no,

    Heh,

    actually no I havn't yet, because to do so, would take a somewhat rather time consuming effort to do, when this is generally a MUCH faster answer. Which is why I love this forum. Open minded, helpful, and on-topic, and best of all peer(some more then others based replies.

    any idea though?

    thanks,

    spyrule

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482


    I put the code in a module, hid sheet 2
    entered this formula =DoesSheetExist("Sheet2") in sheet 1 and it came out true

    So your answer is yes, it will find hidden sheets

  5. #5
    Registered User
    Join Date
    07-22-2005
    Location
    canada
    Posts
    73

    oh so simple...

    LOL!.

    Thanks dave, your test is soooo much simpler then my over complicated
    mind thought out.

    hey, while your here, does UCase(variable) work in vba? I'm trying to
    convert a textbox.text to all upper case. Any fast way of doing this?

    I have

    FNameInput = UCase(FNameInput)
    LNameInput = UCase(LNameInput)

    but I keep getting UCase is not a defined function.

    I cannot seem to find a function to convert a string to all uppercase.

    Is their one?

    Thanks a HUGE amount dave, you really are under-apreciated, except by me!

    Oliver.

  6. #6
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482
    Please Login or Register  to view this content.
    place text in A1 and C1 and run the macro

+ 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