I am trying to import an Excel file that contains two columns. The second column is all numeric, and is not giving me any trouble, but the first is a mix of all-numeric and alpha-numeric fields. Access imports this column as a number field, erroring on all other field types being imported. How do I force Access to import this column into a text field? I’ve tried linking to the file, and the macro command TransferSpreadsheet as well.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Importing Excel – Number as Text
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Importing Excel – Number as Text
- This topic has 6 replies, 6 voices, and was last updated 23 years, 9 months ago.
AuthorTopicWSd_rasley
AskWoody LoungerJune 5, 2001 at 11:03 am #356676Viewing 2 reply threadsAuthorReplies-
WSMarkJ
AskWoody LoungerJune 5, 2001 at 12:09 pm #528316Hi David,
It seems that Access looks at the top few values in the Excel column to determine what the data type is for the field. This might be a case where you need to use ADO with ODBC to transfer the data.If it is only a one-time thing, you could possibly sort your Excel columns so that a text value is in the row beneath the field name. That way Access would be more likely to deem that field a text field rather than numeric.
HTH
-
WScharlotte
AskWoody LoungerJune 5, 2001 at 1:35 pm #528325The simplest method is to create the target table first and make the target field a text field. I’ve never had any problem importing numbers into a text field, only the other way around. The problem is really an Excel problem, since it refuses to recognize numbers as text unless you put a single quote at the first position in the cell.
-
-
WSShane Sargent
AskWoody LoungerJune 5, 2001 at 2:38 pm #528337Chiming in with my
, if it’s a one time deal, I’ve found the easiest thing to do is insert a row directly under the column headings in the Excel file and fill the columns with the value “ZZZ” for that row; it forces Access to recognize the columns as text, and the record is easily recognized and deleted once it’s in Access.
If anyone from Redmond is reading, though the functionality of Access guessing at the data type in an Excel import is handy, ultimate discretion should be with the user/developer.
-
WSjazman2k
AskWoody Lounger -
WSd_rasley
AskWoody Lounger
-
-
-
WSpribb
AskWoody Lounger
Viewing 2 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Non Apple Keyboards
by
pmcjr6142
1 hour, 18 minutes ago -
How to delete your 23andMe data – The Verge
by
AJNorth
1 hour, 33 minutes ago -
7 common myths about Windows 11 (Microsoft AD)
by
EyesOnWindows
55 minutes ago -
Error updating to Win11 0x8024a205
by
bmeacham
46 minutes ago -
default apps
by
chasfinn
28 minutes ago -
Will MS Works 4 work in MS Win 11?
by
MileHighFlyer
8 hours, 23 minutes ago -
Adding links to text in Word 2000
by
sgeneris
24 minutes ago -
FBI warnings are true—fake file converters do push malware
by
Nibbled To Death By Ducks
2 hours, 1 minute ago -
Classic and Extended Control Panel — no need to say goodbye
by
Deanna McElveen
2 hours, 10 minutes ago -
Things you can do in 2025 that you couldn’t do in 2024
by
Max Stul Oppenheimer
13 hours, 10 minutes ago -
Revisiting Windows 11’s File Explorer
by
Will Fastie
2 hours, 14 minutes ago -
Planning ahead for migration
by
Susan Bradley
2 hours, 53 minutes ago -
Yahoo mail getting ornery
by
Tom in Az
37 minutes ago -
Is Spectrum discontinuing email service?
by
Peobody
4 hours, 8 minutes ago -
Practice what you preach! A cautionary tale.
by
RetiredGeek
41 minutes ago -
Looking for Microsoft Defender Manuals/Tutorial
by
blueboy714
4 hours, 52 minutes ago -
Win 11 24H2 Home or Pro?
by
CWBillow
1 hour, 23 minutes ago -
Bipartisan Effort to Sunset the ‘26 Words That Created the Internet’..
by
Alex5723
2 days, 11 hours ago -
Outlook new and edge do not load
by
cHJARLES a pECKHAM
2 days, 23 hours ago -
Problem using exfat drives for backup
by
Danmc
2 days, 23 hours ago -
I hate that AI is on every computer we have!
by
1bumthumb
2 days, 1 hour ago -
Change Info in the Settings window
by
CWBillow
3 days, 6 hours ago -
Attestation readiness verifier for TPM reliability
by
Alex5723
3 days, 12 hours ago -
Windows Update says that “some settings are managed b your organization”
by
Ed Willers
2 days, 22 hours ago -
Use of Gmail rejected.
by
CBFPD-Chief115
2 days, 22 hours ago -
WuMgr operational questions
by
Tex265
13 minutes ago -
Beijing’s unprecedented half-marathon: Humans vs. humanoids!
by
Alex5723
4 days, 3 hours ago -
New Phishing Campaign Targeted at Mac Users
by
Alex5723
3 days, 4 hours ago -
Backing up Google Calendar
by
CWBillow
4 days, 10 hours ago -
Windows 11 Insider Preview build 27818 released to Canary
by
joep517
4 days, 23 hours ago
Recent blog posts
- Classic and Extended Control Panel — no need to say goodbye
- Things you can do in 2025 that you couldn’t do in 2024
- Revisiting Windows 11’s File Explorer
- Planning ahead for migration
- Woody Leonhard (1951–2025)
- What I learned from Woody Leonhard
- Windows Settings today
- Mail Merge magic in Microsoft Word
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.