Error "Range of object Global failed" [Solved/Closed]

Posts
6
Registration date
Monday October 24, 2016
Last seen
November 24, 2016
- - Latest reply:  adikademani - Oct 27, 2016 at 01:59 PM
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
See more 

2 replies

Posts
2441
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
December 18, 2018
400
0
Thank you
Hi adikademani,

ActiveCell is already a range so change:
feat_ure = Range(ActiveCell).Value

into:
feat_ure = ActiveCell.Value

Or use:
feat_ure = ActiveCell.Offset(0, 1).Value

Best regards,
Trowa
0
Thank you
thanks a lott trowaD :)