Selasa, 30 Oktober 2012

Bedakan macro cell find dan selection.find

Bedakan makro antara cari seluruh cell dengan mencari dari suatu range.

bedakan antara Cells.find dengan Selection.Find
http://mymacrosformula.blogspot.com/


dibawah ini adalah di seluruh cell dalam satu sheets
http://mymacrosformula.blogspot.com/
Cells.Find(What:="asd", After:=ActiveCell, LookIn:=xlFormulas, LookAt:= _
xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=False _
, SearchFormat:=False).Activate
http://mymacrosformula.blogspot.com/

dibawah ini adalah di dalam suatu range atau suatu blok

http://mymacrosformula.blogspot.com/
Range("D5:G13").Select

Selection.Find(What:="ser", After:=ActiveCell, LookIn:=xlFormulas, _LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _MatchCase:=False, SearchFormat:=False).Activate

Tidak ada komentar:

Posting Komentar

Page View