if i don't specify the state of the "Strict" then is it in the On state or Off state, Or it depends upon the value we specify in the VB Options(Tools Menu).

Actually i am exporting some data to excel using late binding. I just copied the code specified in FAQ.

I didnt specify Option strict on or off. And in the VB Options it is set Off.

I am getting an error as "option strict on disallows late binding".

If i specify Option Strict Off in the code,then everything is clear.