vipersmind
it can't be!
- Local time
- Tomorrow, 07:40
- Joined
- Dec 26, 2002
- Messages
- 82
Hi
I would like to be able to open multiple files in excel.
The user has the option, after exporting the tables, to view them in excel. I have the following code behind a command button which open one of the files.
I would like to be able to Open all three files at once
VulcanHeader.csv
VulcanSurvey.csv
VulcanSample.csv
thanks
I would like to be able to open multiple files in excel.
The user has the option, after exporting the tables, to view them in excel. I have the following code behind a command button which open one of the files.
PHP:
Private Sub OpenVulcanWorkFiles_Click()
Dim oApp As Object
Set oApp = CreateObject("Excel.Application")
oApp.Visible = True
With oApp
.workbooks.Open "G:\Underground\Geology\Vulcan_Work\pgmug\VulcanHeader.csv"
If Err Then
Shell "C:\Program Files\Microsoft Office\Office\" & "Excel/Automation", vbMaximizedFocus
AppActivate "Microsoft Excel"
End If
Set oApp = Nothing
End With
End Sub
I would like to be able to Open all three files at once
VulcanHeader.csv
VulcanSurvey.csv
VulcanSample.csv
thanks