Finalfight40
Active Member
- Joined
- Apr 24, 2018
- Messages
- 273
- Office Version
- 365
- Platform
- Windows
Hi All
I am having an issue where i have a line for a macro which works for PC but not on mac.
The lines provided i'm pretty sure are causing the issue:
Even tho the date is 11/06/2018 and is there, it will go straight to the error handling.
However when i replace LookUpDate in the find section, with "11/06/2018", it works. Can anyone advise me on this?
(Would copy and paste the vba from the MAC but cant access the internet from it at the moment so is typed out)
I am having an issue where i have a line for a macro which works for PC but not on mac.
The lines provided i'm pretty sure are causing the issue:
Code:
Set LookUpDate = ActiveCell
On Error GoTo DateNotFound1
Rows(ActiveCell.Row).Cells.Find(What:=LookUpDate, After:=ActiveCell, LookIn:= xlValues, LookAt:= xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=False).Activate
Even tho the date is 11/06/2018 and is there, it will go straight to the error handling.
However when i replace LookUpDate in the find section, with "11/06/2018", it works. Can anyone advise me on this?
(Would copy and paste the vba from the MAC but cant access the internet from it at the moment so is typed out)