Dear asihuay
use the following code in general declaration
Dim m_objExcel As Excel.Application
Dim m_objWorkbook As Excel.Workbook
place a command button on form and cpation is OPEN
and on command button click paste the bellow code
Set m_objExcel = New Excel.Application
m_objExcel.Visible = TRUE
m_objExcel.DisplayAlerts = False
Set m_objWorkbook = m_objExcel.Workbooks.Open("C:\abc.xls", True ,true,,""
place a command button on form and cpation is Close
and on command button click paste the bellow code
m_objWorkbook.Close SaveChanges:=False
m_objExcel.Quit
regards
KQKMBI