+ Reply to Thread
Results 1 to 3 of 3

trouble with named range in worksheetfunction.match

  1. #1
    Registered User
    Join Date
    09-29-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    16

    trouble with named range in worksheetfunction.match

    Hi Guys,

    Having an error on this code and not sure why.

    Method 'Range' of object '_Global' failed

    Any guidance would be helpful.

    Thanks a million
    Attached Files Attached Files

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

    Re: trouble with named range in worksheetfunction.match

    Two problems, FineNo is a range so you don't need to wrap it in Range() and the value from the textbox is text, whereas the values you are trying to match are numeric.

    Try this.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    09-29-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: trouble with named range in worksheetfunction.match

    Thanks....

    blonde moment!

+ 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