Re: Importing Excel Spreadsheet
- From: mattieflo <mattieflo@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 30 Apr 2008 07:36:09 -0700
Hey Rick,
Sorry, here's the code. It probably makes it easier to see.
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9,
"tblAgentTemp", FTP_PATH & File_Name, True, "0-499!"
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "tblAgentTemp",
FTP_PATH & File_Name, True, "500-999!"
If I changed the name of the worksheets from 0-499 to ZipZone1 the above
code works perfectly.
"Rick A.B." wrote:
On Apr 29, 12:26 pm, mattieflo <mattie...@xxxxxxxxxxxxxxxxxxxxxxxxx>.
wrote:
Hello,
I'm trying to import two worksheets titled 0-499 and 500-999. However,
apparently my code does not recognize work*** names with those numbers (or
maybe I'm coding wrong). Is there an issue with importing work*** with
numbers as its title and if so, is there a way to import these w/o having to
change the work*** names?
Difficult to tell if your code is causing the problem with out seeing
your code. If I had to quess I would think that even though the
worksheets titles appear to be numbers they are most likely text not
numbers.
Hope that helps.
Rick
- References:
- Importing Excel Spread***
- From: mattieflo
- Re: Importing Excel Spread***
- From: Rick A.B.
- Importing Excel Spread***
- Prev by Date: Re: Importing Excel Spread*** based on date in Form
- Next by Date: Re: Numbering
- Previous by thread: Re: Importing Excel Spread***
- Next by thread: Open an Outlook folder
- Index(es):