Peter Chan
asked on
Data issue in Excel file
ASKER
But I have got Type mismatch error to 2nd line below
If Trim(CStr(Worksheets("Main Sheet").Cells(RowID, 19).Value)) <> "" Then
i_Day = Now() - Worksheets("Main Sheet").Cells(RowID, 19).Value
while Worksheets("Main Sheet").Cells(RowID, 19).Value is having value 30/04/2021. What is the reason of this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window
resolves to a2:a0 which is invalid.