+ Reply to Thread
Results 1 to 19 of 19

Stupid Input Box Error 2015

Hybrid View

  1. #1
    Registered User
    Join Date
    07-16-2012
    Location
    Sheffield
    MS-Off Ver
    Excel 2010
    Posts
    35

    Re: Stupid Input Box Error 2015

    That code works for me also, is there anything with any of your sheet names that could cause the problem.

    you may also want to adjust the code slightly to

    sheett1 = ActiveWorkbook.Sheets(1).Name
    sheett2 = ActiveWorkbook.Sheets(2).Name
    sheett3 = ActiveWorkbook.Sheets(3).Name
    sheett4 = ActiveWorkbook.Sheets(4).Name
    sheett5 = ActiveWorkbook.Sheets(5).Name
    sheett6 = ActiveWorkbook.Sheets(6).Name
    its always best to avoid select staments , however i wouldnt have thought this would fix the code

  2. #2
    Registered User
    Join Date
    04-29-2011
    Location
    islip, ny
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Stupid Input Box Error 2015

    UGH! I tried to not use select statements to begin with but I couldn't get the object.property thing correct for assigning sheet names. I replaced the old code with what you wrote, and it works great for defining the variables but I still get the same error as before.

+ 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