+ Reply to Thread
Results 1 to 4 of 4

"Method 'Range' of object '_worksheet' failed" when a different sheet is active

  1. #1
    Registered User
    Join Date
    03-25-2014
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    10

    "Method 'Range' of object '_worksheet' failed" when a different sheet is active

    Hi All,
    Long time listener first time caller.

    I am trying to set a named range to the rowsource for a combo box based on the below code. It works fine if I have sheet 3 active, but does not work if I have any other sheet active. The trouble is that I do not want my users to see sheet3 at all. I would specifically like to make sheet3 veryhidden.
    Can any of you propose modifications to my code so that it will work when sheet3 is a very hidden sheet?


    Please Login or Register  to view this content.
    Thanks in advance for your help,

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: "Method 'Range' of object '_worksheet' failed" when a different sheet is active

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    03-25-2014
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: "Method 'Range' of object '_worksheet' failed" when a different sheet is active

    Thanks shg, That has completely resolved my issue.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: "Method 'Range' of object '_worksheet' failed" when a different sheet is active

    You're welcome.

+ 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. XL03 Sort error: "Method 'Range' of object '_Worksheet' failed"
    By AdLoki in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-07-2011, 08:23 AM
  2. "Method 'Range' of object '_Worksheet' failed" error in Windows Script Host
    By jikenj in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-16-2010, 02:18 PM
  3. [SOLVED] Error in Macro: "Method 'Paste' of object '_Worksheet' failed"
    By blork in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-05-2006, 01:50 PM
  4. [SOLVED] What is Error "Method "Paste" of object "_Worksheet" failed?
    By vat in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-17-2006, 04:10 PM
  5. [SOLVED] "method 'Copy' of object '_Worksheet' failed"
    By Terry Holland in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-08-2005, 12:05 PM

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