G
Guest
Can someone tell me why I get an "Application-defined or Object-defined
error" when I run this code?
where objXL = "Microsoft Excel"
intEndPointer = objXL.WorksheetFunction.Match _
("JOB STATUS", Worksheets(1).Range("A1:A500",0))
I have also tried using the object name (workbook and also worksheet)
instead of objXL and still can't get it to run.
error" when I run this code?
where objXL = "Microsoft Excel"
intEndPointer = objXL.WorksheetFunction.Match _
("JOB STATUS", Worksheets(1).Range("A1:A500",0))
I have also tried using the object name (workbook and also worksheet)
instead of objXL and still can't get it to run.