Error Handler disabled & Complete Range not in Memory

dognz

New Member
Joined
Feb 18, 2002
Messages
27
Here is a tricky one - I have a large Do-loop executing, I have a error handler that should be used when the last cell in a visible range is about to be tested (becuase error will occur).

There are two problems, the first is that the entire visible range is not being recognized - the last 1000 cells are being listed as a range i.e a8000:a9000 rather than individually i.e a8000,a8001 etc. The error occurs at this point.

Regardless of the first problem I have a error handler that should execute and direct the code - somehow this error handler is disabled??? I have checked my error handler options and all is in order.

Appologies if this has not been explained clearly - will be happy to give further details if anyone has any ideas on this one!
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Have you got a sample of the code it might give me an idea whats wrong
On 2002-02-20 07:42, dognz wrote:
Here is a tricky one - I have a large Do-loop executing, I have a error handler that should be used when the last cell in a visible range is about to be tested (becuase error will occur).

There are two problems, the first is that the entire visible range is not being recognized - the last 1000 cells are being listed as a range i.e a8000:a9000 rather than individually i.e a8000,a8001 etc. The error occurs at this point.

Regardless of the first problem I have a error handler that should execute and direct the code - somehow this error handler is disabled??? I have checked my error handler options and all is in order.

Appologies if this has not been explained clearly - will be happy to give further details if anyone has any ideas on this one!
 
Upvote 0

Forum statistics

Threads
1,214,427
Messages
6,119,419
Members
448,895
Latest member
omarahmed1

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