G
Guest
Hi,
I know how to export files from access but want to give the users the option
of going into that file via msg box after the export. Anyone know the command
to open a file. Below is what I'm using for txt files (soon to be excel)
thanks
exportTimeStamp = exDay & exMonth & exYear
exportPathName = "Z:\alm\ALM\TWS\TWSCOREFILES\Financing LLC\pipe_exports"
exportPathName = exportPathName & "\AEGIS_POSITION_" & exportTimeStamp &
".txt"
DoCmd.TransferText acExportDelim, "AssetSLN", "Asset and SLN Data",
exportPathName, False
MsgBox "The file 'Asset and SLN Data' has been exported successfully",
vbOKOnly
<____need command to open file from its location____>
I know how to export files from access but want to give the users the option
of going into that file via msg box after the export. Anyone know the command
to open a file. Below is what I'm using for txt files (soon to be excel)
thanks
exportTimeStamp = exDay & exMonth & exYear
exportPathName = "Z:\alm\ALM\TWS\TWSCOREFILES\Financing LLC\pipe_exports"
exportPathName = exportPathName & "\AEGIS_POSITION_" & exportTimeStamp &
".txt"
DoCmd.TransferText acExportDelim, "AssetSLN", "Asset and SLN Data",
exportPathName, False
MsgBox "The file 'Asset and SLN Data' has been exported successfully",
vbOKOnly
<____need command to open file from its location____>