Seems easy enough but I'm new at VBA so I can't seem to get it right. I have a sub that adds a row to my worksheet but this particular row needs to be unique. So all I want to do is call a function that will search the first column of the active worksheet for the string "Seed- BOD". If it finds the string, it gives a message "Sample is already here." If it doesn't find the string then the sub will continue.
I don't want it to go to where the string is. I just want to confirm whether it exists or not. Thanks. --~--~---------~--~----~------------~-------~--~----~ ------------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com ------------------------------------------------------------------------------------- -~----------~----~----~----~------~----~------~--~---