I've made an application and associated a filetype to it using the registry. When I double click the data file, it opens the application but doesn't load the data from the file, how do I fix this?
thank you.
Please post some code here.
For example
I am trying to open up a specific workbook labeled below: I can get the application to open but not the specific workbook/spreadsheet. Please help what am I missing?
Private Sub Command2_Click()
Dim ExcelApp As Object
Dim ExcelBook As Object
Dim ExcelSheet As Object
Set ExcelApp = CreateObject("Excel.Application")
Set objExcel = New Excel.Application
objExcel.Visible = True
objExcel.Book.Open "c:\name of file.xls", , , True
End Sub