...ing logging 4.0

はてなブログに移行しました。D言語の話とかいろいろ。

2011-07-01から1日間の記事一覧

指定した文字列を含むセルを検索する関数

VBA

Function FINDCELL(r As Range, str As String) As Object Dim theCell As Object Set theCell = r.Cells.Find(str, LookAt:=xlPart) If theCell Is Nothing Then Set FINDCELL = Nothing Else Set FINDCELL = theCell End If End Function