Search Macro Needed
I have an excel file with 3 sheets, in each sheet under Column A I have a 5 to 7 digit number. I would like to set up a macro to copy data from sheet 3, A1 then search all of column A in both sheet 1 and sheet 2. If the number is found I would like some way of marking it, I assume highlighting it would be easiest. I would like this to continue for Sheet 3, A2 with a loop of some sort. That's the basics of it
I've tried recording a macro but getting the paste value to land in the "Selection.Find(What:=" is proving to be beyond my skill set and I am sure there is an easier way to go about this.
Thanks in advance to you all, this forum has saved me countless hours in the past.
Last edited by O0J0E; 05-16-2012 at 09:05 AM.
Re: Macro Needed, Copy data from Sheet 3 then search for in Sheets 1 and 2
Please read and adhere to these simple rules!
1. Use concise, accurate thread titles. Your post title should describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
To change the title of the thread, click EDIT on the original post, then click the Go Advanced button, then change the title. If two or more days have passed, the EDIT button will not appear, and you need to ask a moderator to change the title.
Want to get your question answered quickly?
Ensure your question is not too vague. Don't assume anyone is familiar with your problem. While you can upload small attachments, describe your problem in the body of the post. We are fortunate to have several Excel gurus, but few mind-readers.
On the other hand, skip irrelevant details. Be descriptive and concise. Short, direct, and to-the-point questions with apt thread titles are almost always answered promptly.
Keep the scope reasonably narrow. Questions like, "How do I set up an accounting system in Excel?" might be a long time waiting.
Explain what you've already tried. ("Calculation is set to automatic, but formulas still don't compute") so helpers don't waste your time or theirs.
Post a WORKBOOK. Nobody wants to type data from a picture or paste text from your post into a spreadsheet as a prelude to helping. To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.
If your question has not been answered within a day, consider adding another post with any additional information you believe is relevant. If you think your post is good as is, just reply to your own thread with the words "Bump no response", which will bring it to the top of the forum.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Search Engine Friendly URLs by vBSEO 3.6.0 RC 1