+ Reply to Thread
Results 1 to 5 of 5

vba code to replace old values by new value depends upon 2 col values

  1. #1
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    vba code to replace old values by new value depends upon 2 col values

    Dear Experts

    I need vba code to replace the entire col values depends upon 2 col vlaues..

    i have basic code for this condition

    IF CRM_LABOR_ITEM_STATUS (AC:AC) Apart From Closed,Complete,Cancel,Select rest of all option IF Action Owner(AL:AL) is TATA Replace Old Values by "SVC" In Status Column Then Replace Old Values by "CLOSED/Completed in CCI Portal" In Remarks Column


    Find the Attachment & Code basic

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by breadwinner; 03-26-2014 at 04:48 AM. Reason: code

  2. #2
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Re: vba code to replace old values by new value depends upon 2 col values

    Any experts could help on this?

  3. #3
    Valued Forum Contributor
    Join Date
    12-02-2012
    Location
    Melbourne, VIC
    MS-Off Ver
    Excel 2016
    Posts
    750

    Post Re: vba code to replace old values by new value depends upon 2 col values

    try this:

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Re: vba code to replace old values by new value depends upon 2 col values

    Thanks sir

    In column AC:AC main constrain is Unselect three "Closed,Complete,Cancel" Then select rest of all including blank, Then
    IF Action Owner(AL:AL) is TATA Replace Old Values by "SVC" In Action O Column Then Replace Old Values by "CLOSED/Completed in CCI Portal" In Status Column.

    Find the attachment...
    Attached Files Attached Files
    Last edited by breadwinner; 03-27-2014 at 03:06 AM. Reason: attachment

  5. #5
    Valued Forum Contributor
    Join Date
    12-02-2012
    Location
    Melbourne, VIC
    MS-Off Ver
    Excel 2016
    Posts
    750

    Re: vba code to replace old values by new value depends upon 2 col values

    Hi breadwinner,

    if I understood your following requirement correctly,
    In column AC:AC main constrain is Unselect three "Closed,Complete,Cancel" Then select rest of all including blank
    just modify the IF condition as
    Please Login or Register  to view this content.
    Warm regards,
    Jewel

+ 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. replace code/id values with a name found in a list
    By ebbo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-10-2015, 10:25 AM
  2. [SOLVED] vba to Replace Old values by new values depends upon cell values in AC:AC col
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-25-2014, 08:15 AM
  3. [SOLVED] vba code to replace old values by new value with 2 type of criteria
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-19-2014, 03:31 AM
  4. [SOLVED] Need vba or formula help to set values depends upon 3 conditions values in 3 col
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-17-2014, 12:34 PM
  5. Code to Find and Replace Userform Values
    By ZEvans12 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-28-2011, 10:57 AM

Tags for this Thread

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