Hi folks,
I'm trying to check for duplicate entries within a workbook. It's over multiple worksheets as the end-user wants to create a new worksheet for each month.
The range I want to check is C2:C500 on all worksheets.
I figured the easiest way to do this would be to set up a named range to cover these cells:
and apply the following conditional formatting to cells within the range:
So that duplicates will be highlighted as soon as they're entered.
As you can see, the current named range only covers Sheet1.
Is there a way of making it check all sheets without naming them?
The user is currently manually inserting sheets each month, and I don't want to a) pre-insert sheets for the user, or b) rely on the user inserting sheets with the correct name for the named range to work.
Code that would apply to all worksheets irespective of their name would be very helpful. Can this be done?
Many thanks in advance,
B.
I'm trying to check for duplicate entries within a workbook. It's over multiple worksheets as the end-user wants to create a new worksheet for each month.
The range I want to check is C2:C500 on all worksheets.
I figured the easiest way to do this would be to set up a named range to cover these cells:
Code:
=Sheet1!$C$2:$C$500
Code:
=(COUNTIF(checkingrange,C2)>1)
As you can see, the current named range only covers Sheet1.
Is there a way of making it check all sheets without naming them?
The user is currently manually inserting sheets each month, and I don't want to a) pre-insert sheets for the user, or b) rely on the user inserting sheets with the correct name for the named range to work.
Code that would apply to all worksheets irespective of their name would be very helpful. Can this be done?

Many thanks in advance,
B.