+ Reply to Thread
Results 1 to 6 of 6

ERROR : Select Method of Range Class Failed

  1. #1
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,015

    ERROR : Select Method of Range Class Failed

    I'm receiving an error message I can't work through :

    Trying to complete a search of data on Sheet #1 from Sheet #2 using a User Form. (See attachment) . Once the search is complete, the user should be able to scroll through the results from the Listbox and have the individual rows appear in the text boxes below. It works fine from Sheet #1 but not from Sheet #2.

    I'm certain it is a minor fix but I can't figure it out after having tried several different references to Sheet #1. Any assistance you may give is
    greatly appreciated.

    Thank you so much !


    Please Login or Register  to view this content.
    Last edited by Logit; 08-23-2016 at 04:29 PM.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: ERROR : Select Method of Range Class Failed

    You don't really need that line of code so you could just remove it.

    PS There's no attachment.
    If posting code please use code tags, see here.

  3. #3
    Forum Expert
    Join Date
    08-28-2014
    Location
    Texas, USA
    MS-Off Ver
    2016
    Posts
    1,796

    Re: ERROR : Select Method of Range Class Failed

    Agree with @Norie, just remove it. However, if it hangs there, it's gonna hang in your with statement, too, as that's the same syntax.

    Guessing strAddress isn't a string that could represent a range, but hard to say w/o the attachment.
    I'm interested in starting a career working with VBA, if anyone knows of any opportunities!

  4. #4
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,015

    Re: ERROR : Select Method of Range Class Failed

    Well .... my computer screen says the attachment was sent. Let me try again ....
    Attached Files Attached Files
    Last edited by Logit; 08-23-2016 at 04:33 PM. Reason: Attachment not sent

  5. #5
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,015

    Re: ERROR : Select Method of Range Class Failed

    Well ... Ok Then ....

    I commented out that line and it works ! Now why didn't I think of that ?

    Thanks guys. Appreciate the help.

    I'm learning ....

  6. #6
    Forum Contributor
    Join Date
    08-09-2012
    Location
    British Columbia
    MS-Off Ver
    Excel 2010
    Posts
    189

    Re: ERROR : Select Method of Range Class Failed

    Hello Logit

    Mind if I ask how you're getting the data for your Prefix sheet ?
    In particular the country and associated continent.

    I was helping out a HAM operator a while back (who used Grid rather than ITU or CQ zones) and
    could pull all information automatically from the internet when a call sign was entered into a user form
    except for the continent. Had to have a table on a sheet for continent from country.

    Thanks
    NoSparks

+ 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. getting error : select method of range class failed
    By clammastak in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-11-2015, 05:08 PM
  2. [SOLVED] error 1004 select method of range class failed
    By Lee_wwfc in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-23-2013, 12:34 PM
  3. Error Message:Select Method of Range class Failed
    By Doruli in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-29-2012, 01:26 PM
  4. Select Method of Range Class failed error 400
    By kmknowles in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-06-2012, 05:26 PM
  5. [SOLVED] Select method of range class failed error
    By sa02000 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-07-2012, 10:13 AM
  6. Select method of Range class failed" error message
    By Session101 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-13-2009, 11:50 AM
  7. select method of range class failed error
    By johndough185 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-06-2007, 08:36 AM

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