Hi There,
I need your help,
I have a code below that works well with a userform that adds my data from my userform to an excel worksheet. It works great and all, but id like to modify it to have it check and see if the file number (fn) exists before writting it back to the worksheet, if it exists, then msgbox "Error: Record Cannot be added - (Duplicate Entry)" and do nothing else, if the file number does not exist, proceed as normal and execute the rest of the code.
Any help with this is greatly appreciated.![]()
Please Login or Register to view this content.
Much thanks for all your help in advance.
Thanks,
Jay
Bookmarks