I am looking to select entire rows (Using code to go into a macro) based on partial contents of a cell. In the attached spreadsheet example I need to select the highlighted area. This is based on the first 4 characters in column A. i.e. the range is column A with the characters AB11 TO AB92. I have been asssuming that I need to use the "MID" function in some way but have failed miserably with each attempt I have made with creating the code (Probaly due to my lack of VBA skills and understanding of the MID function).
If anyone could give some pointers it would be appreciated.
(P.S. I asked a similar question in a different thread but over complicated it by putting in the next stage. I marked that thread as "SOLVED" and put in a comment to say I was going to start a new thread. Please advise if that is the correct way of handling it or should I have done it another way i.e. ask a moderator to close/delete the thread etc)
Bookmarks