J
Jam22171
I'm trying to create a macro that will automatically Edit OLE DB Query each
month. The closest help I got was the following:
tSource="C:\Mar05\File05.xls"
With cn
.Provider = "Microsoft.Jet.OLEDB.4.0"
.ConnectionString = "Data Source=" & tSource & ";" & _
"Extended Properties=Excel 8.0;"
.Open
End With
Not sure of the Open but what I'd like to see the new source file when I
check on the Edit OLE DB Query screen the next time.
Thanks in advance.
month. The closest help I got was the following:
tSource="C:\Mar05\File05.xls"
With cn
.Provider = "Microsoft.Jet.OLEDB.4.0"
.ConnectionString = "Data Source=" & tSource & ";" & _
"Extended Properties=Excel 8.0;"
.Open
End With
Not sure of the Open but what I'd like to see the new source file when I
check on the Edit OLE DB Query screen the next time.
Thanks in advance.