+ Reply to Thread
Results 1 to 4 of 4

select last row containing specific text in column

  1. #1
    Registered User
    Join Date
    10-25-2013
    Location
    canada
    MS-Off Ver
    Excel 2007
    Posts
    79

    select last row containing specific text in column

    hello, i am trying to figure out a vba code to select the last cell in column C that contains "Cgy".

    thanks

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: select last row containing specific text in column

    You may try this code to see if this works as per your requirement.
    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Registered User
    Join Date
    10-25-2013
    Location
    canada
    MS-Off Ver
    Excel 2007
    Posts
    79

    Re: select last row containing specific text in column

    thanks, that seems to work!!

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: select last row containing specific text in column

    Glad that I could help.
    You may click on * (star) to Add Reputation, if you think that the solution provided helped you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] How to hide a column after select a other specific column?
    By bluesurger in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-27-2014, 11:44 AM
  2. Select Only specific text error msg on it not the right text
    By Excelnoub in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-23-2014, 01:00 PM
  3. Macro to select the last specific value in a column
    By jwpfeiffer in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-04-2013, 01:24 PM
  4. [SOLVED] Need formula to enter specific text if a column contains other specific text
    By sugarmags74 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-05-2012, 12:09 AM
  5. How to select a specific column with Excel VBA
    By Dennis in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-28-2006, 09:45 AM

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