我有一个excel vba代码,可以在工作表中找到特定的单元格.它使用Findexcel库的方法.这是代码
objRange.Find(What:="*", SearchDirection:=xlPrevious, SearchOrder:=xlByRows)
Run Code Online (Sandbox Code Playgroud)
我需要在powershell中做同样的事情.但是这种方法总共有9个参数.如何忽略powershell中的其他可选参数.像这样的东西?
$range.Find("*", "", "", "", $xlByRows, $xlPrevious, "", "", "")
Run Code Online (Sandbox Code Playgroud)
这是Range.FindMethod 的文档