Web query
Try quoting those values. Something may also be missing, but your code
fragment is too small to tell.
Tim
"Vijay Kotian" wrote in message
...
I have written following query to pass date on web query
With .document.Forms(0)
.txtFromDt.Value = 05/02/2008
.txtToDt.Value = 05/02/2008
End With
Error message is thrown by system as "Object Variable or with block
variable
not set"
Can anyone help me out to resolve this problem.
Thank you.
|