+ Reply to Thread
Results 1 to 2 of 2

Intersect of object '_Global' error

  1. #1
    Registered User
    Join Date
    06-11-2012
    Location
    San Francisco, CA
    MS-Off Ver
    Excel 2010
    Posts
    26

    Intersect of object '_Global' error

    Hello!
    I have a sheet in which I've written simple code to prevent users from editing anything. I've used the intersect function to manage those ranges users can/can't select. There are hyperlinks in column E cells and the code I've inserted throws the [B]Method 'Intersect' of object '_Global' failed error. I'd like to allow the selection of the sheet's hyperlinks. My code below:
    Please Login or Register  to view this content.
    Thanks in advance!
    Last edited by 6StringJazzer; 01-30-2023 at 02:06 PM. Reason: fixed code tags

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,532

    Re: Intersect of object '_Global' error

    I do not get an error when I run your code. I suggest that you attach your file.

    Also, if all you are trying to do is prevent the user from selecting/editing certain cells, sheet protection will do a better job of that than custom VBA.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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. Method 'Range' of object _Global error (Error 1004)
    By uppidon111 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-04-2019, 06:32 AM
  2. Method 'Range' of object _Global error (Error 1004)
    By uppidon111 in forum Office 365
    Replies: 2
    Last Post: 09-03-2019, 05:35 AM
  3. [SOLVED] Method 'Range' of object '_Global' error
    By Connor101 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-27-2019, 08:42 PM
  4. [SOLVED] Getting error Method 'Range' of object '_Global' failed
    By ks100 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-20-2013, 04:35 PM
  5. buggy macro 'intersect' of object of object'_global failed" when deleting rows
    By Kezwick in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-18-2011, 07:11 AM
  6. VBA Method 'Range' of object '_Global' failed error
    By RxMiller in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-30-2011, 11:06 AM
  7. runtime error '1004' object '_Global' failed
    By Jim in Spokane in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-02-2005, 08:05 PM

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