+ Reply to Thread
Results 1 to 3 of 3

Error "Range of object Global failed"

Hybrid View

  1. #1
    Registered User
    Join Date
    10-25-2016
    Location
    mumbai
    MS-Off Ver
    2010
    Posts
    47

    Error "Range of object Global failed"

    Hello Everyone,

    Kindly check my code for mistakes. I am getting an error in this part of my code as "range of Object _Global failed".

    Dim feat_ure As String
    ActiveCell.Offset(0, 1).Activate

    feat_ure = Range(ActiveCell).Value

    Thanks in advance

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Error "Range of object Global failed"

    Hi,

    ActiveCell is a range already so you do not require the Range property there. Use just
    feat_ure = ActiveCell.Value
    Indeed you can reduce the code to merely this
    Dim feat_ure As String
    feat_ure = ActiveCell.Offset(0, 1).Value
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Registered User
    Join Date
    10-25-2016
    Location
    mumbai
    MS-Off Ver
    2010
    Posts
    47

    Re: Error "Range of object Global failed"

    thanks a lott xlnitwit

+ 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. Replies: 2
    Last Post: 08-24-2016, 08:40 AM
  2. [SOLVED] Receiving a "Method 'Range' of object'_Global' failed" error
    By aloha31 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-17-2013, 06:51 PM
  3. Getting "..object _worksheet failed..." error with intersect for cell and named range.
    By cool1_boy1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-09-2013, 04:17 PM
  4. 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
  5. "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
  6. Error: "Method 'Range' of object '_Global' failed"
    By dblword in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-26-2009, 05:15 PM
  7. "GoalSeek method of Range object failed" error message
    By Fixit_Steve in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-13-2005, 04:06 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