私は完全なExcelスクリプトの初心者で、単語を検索して置換する以下のようなものを見つけました。
Sub replacerev()
What = InputBox("word to search")
repl = InputBox("word to replace")
Cells.replace What:=What, Replacement:=repl, LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
End Sub
私が望むのは、単語を検索して、その列/行を見つけることです。調べてもやり方がわかりません。