Date Stamp

strongermel

New Member
Joined
Mar 16, 2011
Messages
1
I am trying to have a date stamp in an adjacent cell after that cell changes. Problem I'm having is that the cell changes are not manual but based off of a formula in the cell that changes when I update other cells. Therefore the vba isn't working. Is this possible?

I have used the following vba:

Once AQ changes to a 1, I would like a time stamp in AR showing the date it was changed.

I've used a combination of the vba below and have gotten it to work but only if I drag the formula down the column AR again.


Private Sub Worksheet_Change(ByVal Target As Range)

If Target.Cells.Count < 1 Then Exit Sub
If Not Intersect(Target, Range("AQ5:AQ100")) Is Nothing Then
With Target(1, 2)
.Value = Date
.EntireColumn.AutoFit
End With
End If
End Sub


Help!

If this is not possible then an alternative may be(if possible) to have a date stamp once all cells in a range are no longer empty. This would be once cells C:E are no longer empty date stamp AR w/ the date the last cell was filled.

Thank You

Melanie
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
strongermel,

I am trying to do the same thing and was wondering if you were able to figure it out?

I want to timestamp a row when I manually change a cell.
 
Upvote 0
Melanie,

Maybe using the Precedents property. Could you post the formula that changes the values of range AQ5:AQ100?

M.
 
Upvote 0
Hi and welcome to the board!!! Both of you!!!

Strongerme: What cell(s) do you change manually to cause AQ to change. What I mean is, what are the precedents for AQ?

lenze
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,853
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top