I am trying to get a DATEVALUE from another worksheet by using Vlookup.
The reason for this is the worksheet I am trying to Vlookup from is not storing the dates as dates and I am unable to simply change the data into a date format as it is 'controlled' by someone else.
Currently, the following Vlookup has successfully pulled in all the required data.
If Target.Column = 2 Then
If IsNumeric(Target.Value) Then
If IsNumeric(Target.Value) Then
Target.Offset(0, 20) = Evaluate("=VLOOKUP(" & Target.Value & ",'[GRL Alerts.xlsx]Sheet1'!$A:$W,2,FALSE)")
I just need a bit of help in adapting the 'Evaluate' part of the code so that it pulls in the data in date format by using DATEVALUE.
Any help would be much appreciated
Justin
The reason for this is the worksheet I am trying to Vlookup from is not storing the dates as dates and I am unable to simply change the data into a date format as it is 'controlled' by someone else.
Currently, the following Vlookup has successfully pulled in all the required data.
If Target.Column = 2 Then
If IsNumeric(Target.Value) Then
If IsNumeric(Target.Value) Then
Target.Offset(0, 20) = Evaluate("=VLOOKUP(" & Target.Value & ",'[GRL Alerts.xlsx]Sheet1'!$A:$W,2,FALSE)")
I just need a bit of help in adapting the 'Evaluate' part of the code so that it pulls in the data in date format by using DATEVALUE.
Any help would be much appreciated
Justin