Results 1 to 10 of 10

Create VBA that types text into a column if target cell contains certain string

Threaded View

  1. #1
    Registered User
    Join Date
    03-01-2010
    Location
    Portland, OR
    MS-Off Ver
    Office 365
    Posts
    58

    Create VBA that types text into a column if target cell contains certain string

    Hi,

    So I am trying to create a macro that automatically types one of two text options into a column if the reference cell contains certain text. So basically the VBA version of the following:

    IF (B,2) Contains "A","B","C","D","E", or "F" then Type "ABC-Related" in (C,2)

    If (B,2) doesn't contain any of those, then type "Non-ABC"

    This would go until there was no more text in column B

    Keep in mind would be in a 9,000 line spreadsheet, so I've tried messing around from macro some filters but it doesn't work quite right.

    Thanks!
    Last edited by ppilot; 06-20-2014 at 07:24 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Find partial text string within another text string return original text into cell.
    By mikey42979 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-17-2013, 02:58 PM
  2. Replies: 12
    Last Post: 09-15-2012, 10:20 PM
  3. [SOLVED] Macro to Insert text to target cell in Column
    By Channel3z in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-15-2012, 03:41 PM
  4. Replies: 8
    Last Post: 08-07-2012, 10:15 AM
  5. Replies: 3
    Last Post: 07-16-2010, 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