Thanks for the reply. I am just trying to incorporate the Timeout property in VBA, but AFAIK, seems like Timespan is part of VB.net. Correct me if I am wrong. Would I be in any way able to use the Timespan datatype in VBA? Or is there a workaround? Please help.