Or perhaps run some code like this in Excel to:
Save the workbook
Copy the active Worksheet
Format all cells in the copied sheet to Text
Save the Workbook again.
Then import this Copied sheet to Access.
ActiveWorkbook.Save
ActiveSheet.Copy Before:=Sheets(1)
Cells.Select
Selection.NumberFormat = "@"
ActiveWorkbook.Save
JeffCoachman
Main Topics
Browse All Topics





by: BellonePosted on 2009-10-13 at 14:18:18ID: 25564851
You could have a 'tranfer' table in Access with all fields pre-formatted as text. The Excel data would be imported into it, then moved out again to its ultimate destination, leaving your transfer table ready for the next import.