I'm using the following code to open XML files in Excel, which works fine:
...but i would like to modify so that files open in any existing instance of Excel rather than a new instance every time.
Not really an option to associate XML files with Excel permanently (so i could just pass the file name)
Any ideas?...
VB.NET:
Dim startInfo As New ProcessStartInfo
startInfo.FileName = "Excel.exe"
startInfo.WorkingDirectory = c_OUCPath
startInfo.Arguments = Me.lbxConfSent.SelectedItem
Try
Process.Start(startInfo)
Catch ex As Exception
frmMsgInput.ShowDialog("Error: " & ex.Message, , 3)
End Try
...but i would like to modify so that files open in any existing instance of Excel rather than a new instance every time.
Not really an option to associate XML files with Excel permanently (so i could just pass the file name)
Any ideas?...