Re: Select a Folder for Access 2007 Table Export
- From: Clifford Bass <CliffordBass@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 21 Jul 2009 12:18:01 -0700
Hi Erick,
I would suspect the double backslash may be causing the problem. You
could either check for its existence at the end of the path or use the
FileSystemObject's BuildPath method.
' Requires reference to Microsoft Scripting Runtime (Tools, References)
Dim fso As New FileSystemObject
strPathFile = fso.BuildPath(strPath, strFile)
Also, I presume that where you have "file name" that that is only to
indicate the constructed file name and that the actual file name does not
include the quotes.
Clifford Bass
"Erick C" wrote:
The path that shows up is:.
Y:\\"file name".xls
The file name shows up in the correct format that we modified before.
The file does not exist anywhere on the shared drive.
- Follow-Ups:
- Re: Select a Folder for Access 2007 Table Export
- From: Erick C
- Re: Select a Folder for Access 2007 Table Export
- References:
- Select a Folder for Access 2007 Table Export
- From: Erick C
- RE: Select a Folder for Access 2007 Table Export
- From: Clifford Bass
- Re: Select a Folder for Access 2007 Table Export
- From: Erick C
- Re: Select a Folder for Access 2007 Table Export
- From: Clifford Bass
- Re: Select a Folder for Access 2007 Table Export
- From: Clifford Bass
- Re: Select a Folder for Access 2007 Table Export
- From: Erick C
- Re: Select a Folder for Access 2007 Table Export
- From: Erick C
- Re: Select a Folder for Access 2007 Table Export
- From: Clifford Bass
- Re: Select a Folder for Access 2007 Table Export
- From: Erick C
- Re: Select a Folder for Access 2007 Table Export
- From: Clifford Bass
- Re: Select a Folder for Access 2007 Table Export
- From: Erick C
- Select a Folder for Access 2007 Table Export
- Prev by Date: Re: Select a Folder for Access 2007 Table Export
- Next by Date: Re: Select a Folder for Access 2007 Table Export
- Previous by thread: Re: Select a Folder for Access 2007 Table Export
- Next by thread: Re: Select a Folder for Access 2007 Table Export
- Index(es):
Relevant Pages
|