I am having difficulty running a small report via Task Scheduler. It works fine updating form the database but this last code gives me a headache.
The error says:
"Run-time error '91':
Object cariable or With block varible not set
I know its the highligthed with red color, but just...