P
PatK
I believe this is not possible (at least with this method), but thought I
would ask the gurus. This code:
Sub testlink()
DoCmd.TransferSpreadsheet acLink, 8, "WS1", _
"C:\Documents and Settings\myuser\myfilename.xls", True
End Sub
will always link JUST the first worksheet to Access (and works fine for me).
Any way to link to the second worksheet, third, and so on?
You can do this thru the GUI (AC2007) but no, apparently, in VB. Ideas?
Thanks!
Patk
would ask the gurus. This code:
Sub testlink()
DoCmd.TransferSpreadsheet acLink, 8, "WS1", _
"C:\Documents and Settings\myuser\myfilename.xls", True
End Sub
will always link JUST the first worksheet to Access (and works fine for me).
Any way to link to the second worksheet, third, and so on?
You can do this thru the GUI (AC2007) but no, apparently, in VB. Ideas?
Thanks!
Patk