View Single Post
 
Old 06-10-2012, 07:43 AM
tinfanide tinfanide is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2011
Posts: 312
tinfanide is on a distinguished road
Default Run-time error '91': Object variable or With block variable not set

app.xlsm

It is a long set of codes. If you have time, please help look at it.
The error is

Run-time error '91':
Object variable or With block variable not set

When I select Cells A7 and A8,
run Sub Sheet1.t2.
The error will occur.

I have commented where I guess (just I guess) the error comes from
as
when I deleted the code
Code:
Set oIE = s
The error does not come out
but
it cannot function as expected (use the newly opened tab)
My intention was to open a new tab in IE
and
use the new tab

I have worked on it for many hours.
So if you can help test the codes, I would be grateful for your help.
Many thanks in advance.
Reply With Quote