Excel Doc宏产生“未找到命名参数(错误448)”

时间:2015-06-17 21:51:38

标签: excel macos vba excel-vba excel-vba-mac

此代码段在Windows上的Excel中运行完美 但是在OSX上,它给出了一个错误Named argument not found (Error 448).

With Sheets("Colors")
        Set rangeFound = .Cells.find(What:=Resource, After:=.Cells(1, 1), LookIn:=xlValues, _
            LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
            MatchCase:=False, SearchFormat:=False)
End With

1 个答案:

答案 0 :(得分:1)

Mac不支持SearchFormat参数。只需省略即可运行代码。

相关问题