tonywatsonhelp
Well-known Member
- Joined
- Feb 24, 2014
- Messages
- 3,194
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
Hi Everyone,
Ok so i'm looking for a macro to do a check for me,
I have a sheet called FP Raw and it has a list of names,
I shouldn't have any duplicates but sometimes this happens and i want a simple macro to check this for me.
So when the macro is run i need it to do this:
Get a name from sheet "Welcome" range "ac57"
count how many times that name is found in sheet "FP raw" column Q
If its 0 times then
messagebox " That name does not exist"
exit sub
if its greater then 1 then
messagebox " The name appears ore then once please check data before proceeding"
exit sub
Ok so i'm looking for a macro to do a check for me,
I have a sheet called FP Raw and it has a list of names,
I shouldn't have any duplicates but sometimes this happens and i want a simple macro to check this for me.
So when the macro is run i need it to do this:
Get a name from sheet "Welcome" range "ac57"
count how many times that name is found in sheet "FP raw" column Q
If its 0 times then
messagebox " That name does not exist"
exit sub
if its greater then 1 then
messagebox " The name appears ore then once please check data before proceeding"
exit sub