A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
SearchFormat is not a supported parameter in Excel Mac VBA. Delete that parameter and it should work.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have Excel for Mac 2016.
The following code is throwing up an error message "Compile error: Named argument not found" and highlighting SearchFormat
Set aCell = orange.Find(What:=Rm, LookIn:=xlValues, _
LookAt:=xlWhole, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False)
Has anyone any advice on what I can do to get this macro working?
Colin
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
SearchFormat is not a supported parameter in Excel Mac VBA. Delete that parameter and it should work.