I have look thought the old threads and can not find the answer.
I have a form and when i click a button i need it to open an excel file.
the closes i have got is :-
Set oApp = CreateObject("Excel.Application"
oApp.Visible = True
On Error Resume Next
oApp.UserControl = True
but this will not open a file just opens excel.
I have a form and when i click a button i need it to open an excel file.
the closes i have got is :-
Set oApp = CreateObject("Excel.Application"
oApp.Visible = True
On Error Resume Next
oApp.UserControl = True
but this will not open a file just opens excel.