'Eliminamos la instancia de Excel de memoria If Not m_Excel Is Nothing Then m_Excel.Quit() m_Excel = Nothing