Error 2147417848 Method "_Default" of Object "Range" failed

UHsoccer

Well-known Member
Joined
Apr 3, 2002
Messages
1,023
Program has been running on Excel 2003 for several years. Now the customer needs to have it operational on 2007. One of the VB macros errors, here are the setails:

1) Macro is on worksheet "Main" and is called

"Private Worksheet_Change (byVal Target as Range)"

2) the statment is very simple

if Range('$E$4") = "" or Range("$E$7") = "" then
' some action to be taken
end if

Program errorr on the "if --- then" statement with the message

Run-Time Error '-2147417848 (80010108)'
Method '_Default' of object 'Range' failed

Absolutely no clue why this occurs. I have seen several other questions like this (dating back to 2002). None have an explanation.

I have send the error code to MS in the hope of someday getting a response. Someday has not arrived yet

I have to have this resolved else my contract is in jeopardy....

Thanks
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Using a double quote should help:
Code:
If Range([COLOR="Red"]"[/COLOR]$E$4") = "" or Range("$E$7") = "" Then
 
Upvote 0

Forum statistics

Threads
1,226,218
Messages
6,189,693
Members
453,563
Latest member
Aswathimsanil

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top