+ Reply to Thread
Results 1 to 5 of 5

Method range of object global failed

  1. #1
    Registered User
    Join Date
    01-20-2013
    Location
    Kampala
    MS-Off Ver
    Excel 2007
    Posts
    9

    Method range of object global failed

    Hi all,
    I am stuck with this error above named in the row below with arrows
    Please Login or Register  to view this content.
    From what i read this error usually comes when the named range is involved is invalid. In debugging i proved that this is actually the problem. Because replacing the "instore_qtty" with another named range did result in same error
    the "instore_qtty" is a named dynamic range on the sheets "Production records"
    I have apparently failed to see what the problem is with the naming of the range
    Below is the actual synatx for the dynamic range "instore_qtty"
    Please Login or Register  to view this content.
    If anybody can advise me how to proceed i will be very glad.
    Stephen
    Last edited by darahsten; 01-28-2013 at 03: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: Method range of object global failed

    Stephen

    Are there any values in H:H on 'Production Records'?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    01-20-2013
    Location
    Kampala
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Method range of object global failed

    Thanks Norie, there areant any values. I have also tried filling the column with sample data 0,0,7 before and my attempts still went begging

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

    Re: Method range of object global failed

    If there's no data in the column then the COUNTA function will return 0 and the formula for the named range will fail.

    I would have thought entering values should work, though it might depend on where you entered them.

    Could you upload a sample workbook? Then we might be able to see what's happening.

  5. #5
    Registered User
    Join Date
    01-20-2013
    Location
    Kampala
    MS-Off Ver
    Excel 2007
    Posts
    9

    Smile Re: Method range of object global failed

    Thanks Norie again so much for the quick one there.
    I managed to smoke out the problem. Initially it was the lack of data that caused the name to fail. However in my attempt to try to get things to work i redefined the range several times lastly as "instore_Qity" instead of "instore_qtty". when i tested the range with data the rangename was invalid.
    I corrected that and now when i test with data i get no error and without data i get dreaded error.
    Thanks for your very smart explanation. I am yet to understand using the offset function to name dynamic ranges properly.
    Best Regrads
    Stephen

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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