Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 177
Default Method 'Intersect' of object '_Global' failed

I have an Excel 97 - 2003 add-in that is getting a failure on the following
statement:

Intersect(myArea, Selection)

The error message is:

Method 'Intersect' of object '_Global' failed

myArea is defined to be a Range and is set to $A$31:$E$35. Selection is
$A$17.

I tried qualifying Intersect with Application. but that didn't help.

Any ideas?

TIA

Josh


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 177
Default Method 'Intersect' of object '_Global' failed

Never mind I figured it out.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Method 'Intersect' of object '_Global' failed

Sounds like the ranges refer to different sheets (whether intentional or
not).

This would cause that error I believe.
--
Regards,
Tom Ogilvy

"Josh Sale" <jsale@tril dot cod wrote in message
...
I have an Excel 97 - 2003 add-in that is getting a failure on the

following
statement:

Intersect(myArea, Selection)

The error message is:

Method 'Intersect' of object '_Global' failed

myArea is defined to be a Range and is set to $A$31:$E$35. Selection is
$A$17.

I tried qualifying Intersect with Application. but that didn't help.

Any ideas?

TIA

Josh




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 177
Default Method 'Intersect' of object '_Global' failed

Just so.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Method 'Range' of object '_global' failed higherlimits Excel Discussion (Misc queries) 3 June 23rd 06 06:16 PM
Method 'Range' of object '_Global' failed Brian Morris[_2_] Excel Programming 1 December 10th 03 11:04 PM
Method 'Range' of object '_Global' failed Mohanasundaram[_2_] Excel Programming 1 August 25th 03 01:43 PM


All times are GMT +1. The time now is 08:21 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"