98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Searching text in range for text in another range then formattin
Searching text in range for text in another range then formattin
Resolved · Low Priority · Version 2003
Yatin has attended:
Excel VBA Intro Intermediate course
Searching text in range for text in another range then formattin
For example:
In Sheet1 cells A1=London, A2=Glasgow, A3=Manchester. Sheet2 Cells A1:A50 contains a list of cities/towns in the UK.
I would like my macro to go through each cell in sheet2 and search for any of the cities listed in Sheet1. If a match if found then the cell's background in Sheet2 should turn red.
Thanks
Yatin
Training information:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Enter formulae into multiple cellsIf a formula is to be used in a series of cells, select the cells first. Now type in your formula and hold the Ctrl key while you press Enter. This enters the formula in each selected cell. |