I have a spreadsheet of Sales Funnel data where columns A through J are typical sales fielded information.
I'd like to use column L to insert a DATE if any of the cells on that row in columns A-J are changed/update by sales personnel.
I'd appreciate tips from learned excel programmers.
Last edited by varocketry; 03-18-2011 at 10:41 AM. Reason: Solution provided by GURU Jerry
You're correct that this will require VBA. Which means this probably should have been posted in the Programming forum. Oops.
Right-click the sheet tab and select VIEW CODE, then paste in this macro:
Option Explicit Private Sub Worksheet_Change(ByVal Target As Range) Dim cell As Range For Each cell In Target If Not Intersect(cell, Range("A:J")) Is Nothing Then If cell <> "" Then Application.EnableEvents = False Range("L" & cell.Row) = Date Application.EnableEvents = True End If End If Next cell End Sub
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
“None of us is as good as all of us” - Ray Kroc
“Actually, I *am* a rocket scientist.” - JB (little ones count!)
WOW, GURU is right.
Thanks Jerry
If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
“None of us is as good as all of us” - Ray Kroc
“Actually, I *am* a rocket scientist.” - JB (little ones count!)
hi
i want a macro to insert a current date on a blank column whenever a data in a cell is changed/modified. I tried pasting your macro in excel, but it didn't work. Please help me.
for example, i have a data in column AW as current Status (Awaiting Data) and in column AX as previous status (empty) when i change this AW column to Operational/standby/write-off/rented from Awaiting Data, i want a current date to be inserted on the next column, and also, previous status (AX column) should be changed to Awaiting Data when i change the AW column to operational/standby....
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks