+ Reply to Thread
Results 1 to 3 of 3

Select range based on variable cell content

  1. #1
    Registered User
    Join Date
    02-06-2008
    Location
    Cheshire, UK
    Posts
    42

    Select range based on variable cell content

    Hi folks

    I'm struggling to find an answer to my seemingly 'simple' problem.

    Based on if the value in col A contains the characters "TT" I want to select the range starting with this cell and ending at the end at the end of the row I'm using (.End(xlRight) and then merge these cells, change colors etc. And then looping this through a 'range' so that it only occurs where the values occur.

    I can amend various cells based on this idea, but am unable to identify the range and then merge the cells.

    Please Login or Register  to view this content.

    I apprecaite my code is very basic, but that's my level at present - but I'm trying.

    Hope you can help.

    Kind regards

    NoCanDo
    Last edited by NoCanDo; 05-01-2009 at 03:24 AM. Reason: Solution given by shg - many thanks

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Select range based on variable cell content

    Maybe like this (untested):
    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    02-06-2008
    Location
    Cheshire, UK
    Posts
    42

    Re: Select range based on variable cell content

    Hi there shg

    100% perfect. Thank you for prompt action in solving my problem.

    Kind regards

    NoCanDo

+ Reply to Thread

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