Hey,
I should know this, matter of fact I may have posted this same question a couple of months back. I need to open an excel file from a command button but I am getting the user-type not defined error message.
Private Sub Command12_Click()
Dim appXL As Excel.Application
Set appXL = CreateObject("Excel.Application")
appXL.Workbooks.Open ("K:\Todayis\Friday\JustaFewmorehours.xls ")
End Sub
Any help would be great.
durdle
________
v
I should know this, matter of fact I may have posted this same question a couple of months back. I need to open an excel file from a command button but I am getting the user-type not defined error message.
Private Sub Command12_Click()
Dim appXL As Excel.Application
Set appXL = CreateObject("Excel.Application")
appXL.Workbooks.Open ("K:\Todayis\Friday\JustaFewmorehours.xls ")
End Sub
Any help would be great.
durdle
________
v
Last edited: