VBA Code to change Cell value depending on Input value

VBA_Joy

New member
Local time
Today, 14:25
Joined
Oct 4, 2013
Messages
3
Please help Guys, I need a vba formula that will change the cell value to the current date when I enter the value("x") or Value("X") in the cell. The current date must be populated in the cell where the x was inputed
Thanks, I am still new in VBA and Macros and I am learning everyday with this forum.Thanks
 
Thanks a lot, It just did the wonders, Here is a short code that Did all the magic

Private Sub Worksheet_Change(ByVal Target As Range)

If UCase(Target.Value) = "X" Then
Target.Value = Now
End If
End Sub:):):)
 

Users who are viewing this thread

Back
Top Bottom