Results 1 to 8 of 8

How to select a row using contents of a cell

Threaded View

  1. #1
    Valued Forum Contributor WasWodge's Avatar
    Join Date
    08-02-2010
    Location
    Hampshire,England
    MS-Off Ver
    Office 365 and Office 2010
    Posts
    882

    How to select a row using contents of a cell

    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)
    Attached Files Attached Files
    Last edited by WasWodge; 10-31-2010 at 08:31 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1