clearcom(whichcom) Clear COM ACTXSERVER from workspace clearcom('o') % Origin clearcom('w') % Word clearcom('e') % Excel