+ Reply to Thread
Results 1 to 3 of 3

After insert new record, insert values in row based on first cell in row

  1. #1
    Registered User
    Join Date
    05-04-2012
    Location
    USA
    MS-Off Ver
    excel 2010
    Posts
    25

    After insert new record, insert values in row based on first cell in row

    Hello all,
    So I tried asking a related question yesterday, but I think I may have gone about my solution incorrecly. So instead I am going to try a new approach.

    Description: I want to keep track of active clients (new and existing) during a several-step process. Some of these processes are shared across new and existing clients, and some are unique to the type of client. I currently use conditional formatting to distinguish between processes: Red ("1") means a process is necessary but not yet complete, Green ("0") means a process is necessary and complete, and Black ("") means a processess is unnecessary (i.e., it is unique to new but not existing clients and vice versa). Employees keep track of clients by changing the column value from red to green (i.e., replacing a "1" with a "0" from left to right) and after the last process is finished simply delete the record (row).

    Goal: I want to be able to, when I add a new client, automatically insert 1's, and 0's based on the value of my first column (which IDs clients as either "New" or "Existing"). So after the value of Column A is changed (from blank to either "New" or "Existing"), 1s and 0s need to be inserted into particular columns within that row. Any help would be greatly appreciated.

    My current columns look like this:

    "Client Type" | Process A | Process B | Process C...

  2. #2
    Registered User
    Join Date
    05-04-2012
    Location
    USA
    MS-Off Ver
    excel 2010
    Posts
    25

    Re: After insert new record, insert values in row based on first cell in row

    Okay, I think I've made some progress. I think that I want to place the eventual code into the Worksheet_Change event for column A. Is that correct?

    Now I just need help inputting 1s and 0s into cells in the same row based on the value inputted into the first cell (either "New" or "Existing"). Any help?

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: After insert new record, insert values in row based on first cell in row

    Is this request the same as http://www.excelforum.com/excel-2007...-and-sort.html ?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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