Quantcast
Viewing all articles
Browse latest Browse all 4398

Error: Object reference not set to an instance of an object. This error usually occurs when using a variable with no set value (not initialized)

@yjkim wrote:

Hi there,

I used data scraping to extract from a website a table of data.
After which, used excel application scope to create a new excel sheet called Dcon.xlsx, and write range to copy the data into the excel.

However, i keep getting an error: Object reference not set to an instance of an object. This error usually occurs when using a variable with no set value (not initialized)

I;m not sure why this is happening and have tried to search online for a solution however to no avail.
Can anyone assist?

Thank You!
Kim

Posts: 34

Participants: 20

Read full topic


Viewing all articles
Browse latest Browse all 4398

Trending Articles