I have a button code that works in Excel VBA but I have a sheet I want to apply it to in Google Docs, It essentially finds the rego on the same line in the valet Worksheet and changes the completed Valet cell in the Trades worksheet to todays date.
Any guidance is much appreciated
Sub Done1()
Dim TodaysDate As Date
TodaysDate = Now
Dim Rego As String
Rego = Range("A3").Value
With Worksheets("Trades").Range("A1:D20")
Dim FoundRng As Range
Set FoundRng = .Find(Rego).Offset(0, 21)
Sheets("Trades").Range(FoundRng.Address) = TodaysDate
End With
End Sub