R
rfuscjr via AccessMonster.com
I have a MsAccess button that essentially, when pressed, runs a bunch of
queries, builds tables, opens an Excel file linked to those tables, refreshes
all and writes to a share (Ex: x:\CompanyReports\Counts\mycounts.xls.
Now they want the file to appear on our shaprepoint websites as well (along
with a bunch of other files) I want to use the MSAccess vba to move files
from the share to sharepoint BUT, using this code:
'SourceFile = "X:\LVPG\Reports\MISC\LVPG_FM_wRVUDetails.xls"
'DestinationFile = "\\myreports\groups\Internal_Medicine\wRVUs\Detail\
LVPG_wRVUDetails.xls"
'FileCopy SourceFile, DestinationFile
I get an error...it appears you can not use a URL and I know of no other way
to move the files...thoughts...
queries, builds tables, opens an Excel file linked to those tables, refreshes
all and writes to a share (Ex: x:\CompanyReports\Counts\mycounts.xls.
Now they want the file to appear on our shaprepoint websites as well (along
with a bunch of other files) I want to use the MSAccess vba to move files
from the share to sharepoint BUT, using this code:
'SourceFile = "X:\LVPG\Reports\MISC\LVPG_FM_wRVUDetails.xls"
'DestinationFile = "\\myreports\groups\Internal_Medicine\wRVUs\Detail\
LVPG_wRVUDetails.xls"
'FileCopy SourceFile, DestinationFile
I get an error...it appears you can not use a URL and I know of no other way
to move the files...thoughts...