jkasu
Technical User
- Aug 14, 2011
- 2
If I try to run following script in word it gives error but if I use same in excel its fine. I am running word template to open excel sheet and then search for record in first row
Columns("A:A").Select
Selection.Find(What:="OBS", After:=ActiveCell, LookIn:=xlValues, LookAt _
:=xlPart, SearchOrder:=xlByColumns, SearchDirection:=xlNext, MatchCase:= _
False).Activate
Columns("A:A").Select
Selection.Find(What:="OBS", After:=ActiveCell, LookIn:=xlValues, LookAt _
:=xlPart, SearchOrder:=xlByColumns, SearchDirection:=xlNext, MatchCase:= _
False).Activate