Results 1 to 4 of 4

Adding new sheet to existing userform

Threaded View

  1. #1
    Registered User
    Join Date
    02-18-2013
    Location
    Germantown, MD
    MS-Off Ver
    Excel 2007
    Posts
    12

    Adding new sheet to existing userform

    Hello!

    Nickmax1 helped me out last week with some coding so my users had to choose between 2 combo boxes to go to the desired worksheet. I've attached the Test workbook he created. I had no problems adding "Construction MD" and Construction Repair", but I can't add "Exempt". I get a "run-time error 9" and "subcript out of range". If I click "Debug", it takes me to VBA and highlights
    ThisWorkbook.Worksheets(strWS).Visible = True

    I added my workbook with the hopes that you can figure out what I've done as I'm assuming it's something horribly wrong!! Any suggestions??

    Thanks!!!!
    Attached Files Attached Files

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