ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,832
- Office Version
- 2007
- Platform
- Windows
Hi,
I am looking for a basic duplicate code so when i leave a specific cell the code would run.
So my new code should work like this.
Worksheet is called DATABASE
Cell where i would type the customers name is always A6
Once i leave cell A6 the code should check for a duplicate in only the Column range A6 & down the page.
If no duplicate is found then allow me to continue.
If a duplicate is found then show a msgbox yes / no asking would i like to be taken to that cell where the duplicate was found.
No just closes the msgbox where yes would take me to the cell where the duplicate is.
Thanks
I am looking for a basic duplicate code so when i leave a specific cell the code would run.
So my new code should work like this.
Worksheet is called DATABASE
Cell where i would type the customers name is always A6
Once i leave cell A6 the code should check for a duplicate in only the Column range A6 & down the page.
If no duplicate is found then allow me to continue.
If a duplicate is found then show a msgbox yes / no asking would i like to be taken to that cell where the duplicate was found.
No just closes the msgbox where yes would take me to the cell where the duplicate is.
Thanks