vba-excel の検索機能に関して私が見つけたすべてのヒントは、同じブックを参照しています。ただし、このコード スニペットのように、別のワークブックをアクティブ化した後
aDifferentWorkbook.Activate
Set Found = Cells.Find(What:=LookedFor.Text, LookIn:=xlValues, LookAt:=xlWhole)
このワークブックには LookedFor.Text が存在しますが、結果は常に Found Is Nothing = True です。別のワークブックに切り替えた後に特別なルールがあるかどうか知っている人はいますか?
ありがとうございます