I am trying to get an exsisting file to open from my shared drive over a network using Excell and I am not having any luck. Can anyone please asssist me with this.
My code is below.
My code is below.
Code:
Private Sub cmbControl_Chart_Exl_Click()
On Error GoTo Err_cmbControl_Chart_Exl_Click
Dim oApp As Object
Set oApp = CreateObject("Excel.Application")
oApp.Visible = True
'Only XL 97 supports UserControl Property
On Error Resume Next
oApp.UserControl = True
Exit_cmbControl_Chart_Exl_Click:
Exit Sub
Err_cmbControl_Chart_Exl_Click:
MsgBox Err.Description
Resume Exit_cmbControl_Chart_Exl_Click
End Sub