pulsecoding
New Member
- Joined
- May 26, 2011
- Messages
- 31
hi all,
I am using xp office.
below code is showing error " run time error 91: object variable or with block variable not set.
I am using xp office.
below code is showing error " run time error 91: object variable or with block variable not set.
Code:
On Error GoTo stop1:
start_to_be_copy = ActiveWorkbook.Sheets("Collated cases").Range("a4:a65000").Find(p).Row
end_of_copy = ActiveWorkbook.Sheets("Collated cases").Range("a4:a65000").Find(p, SearchDirection:=xlPrevious).Row
stop1: