I used VB6, not VBA, and autoCad2002 Network Version. I open autocad as Set ACadProgram = CreateObject(autoCAD.application) I also put "On Error" statement in the module. When I can have Lic from server, it works well. But if I can't have Lic, then instead of going ErrorClause, it prompts runtime error and program stopped. Any advice.