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.
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
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, 10 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 LoungerViewing 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
-
Is there a comprehensve way to tranfer ALL current Edge Settings into a new Edge
by
Tex265
9 minutes ago -
Transferring ALL info/settings from current Firefox to new computer Firefox
by
Tex265
31 minutes ago -
DOGE Wants to Replace SSA 60 Million Line COBOL Codebase in Months
by
EyesOnWindows
55 minutes ago -
KB5051989 Usb printer Post Ipp
by
licencesti
2 hours, 57 minutes ago -
Removing bypassnro
by
Susan Bradley
1 hour, 24 minutes ago -
Up to 30 seconds to show “Recent Topics”
by
PL1
1 hour, 54 minutes ago -
Sound changes after upgrade from W11 23H2
by
WStaylorpsepa
3 hours, 37 minutes ago -
Windows bug blocks BIOS updates for Lenovo ThinkPad laptops
by
Alex5723
6 hours, 40 minutes ago -
O&O Software – ‘World Backup Day’ Sale
by
unbob
3 hours ago -
Still version 23H2?
by
WSbxcfilm
7 hours, 28 minutes ago -
Ubuntu 25.04 (Plucky Puffin) Beta released
by
Alex5723
13 hours, 25 minutes ago -
How to install App Store apps on an external SSD
by
Alex5723
14 hours, 19 minutes ago -
Where is Windows going?
by
Susan Bradley
4 hours, 36 minutes ago -
Installing Feature Update Windows 11 24H2
by
geekdom
1 day, 7 hours ago -
Windows 11 Insider Preview build 27823 released to Canary
by
joep517
1 day, 8 hours ago -
Windows 11 Hotpatch
by
Hackmuss
15 hours, 29 minutes ago -
System Guard service error still won’t be fixed
by
Susan Bradley
1 day, 8 hours ago -
Operation ForumTroll: APT attack with Google Chrome zero-day exploit chain
by
Alex5723
1 day, 3 hours ago -
Troy Hunt of HaveIBeenPwned Phished
by
Lars220
1 day ago -
Microsoft Windows security auditing Code 5061
by
mpw
1 day, 21 hours ago -
Can’t display images in incoming Outlook 365 emails
by
WScopwriter
1 day, 4 hours ago -
Windows 11 Insider Preview Build 26200.5510 early builds of 25H2
by
Alex5723
1 day, 6 hours ago -
0Patch : Micropatches released for SCF File NTLM Hash Disclosure Vulnerability
by
Alex5723
1 day, 5 hours ago -
Select multiple emails and they all open up!
by
CeeJay
2 days, 22 hours ago -
How to remove an update preview
by
Gunny
1 day, 1 hour ago -
Third party add ins reminder
by
Susan Bradley
8 hours, 2 minutes ago -
OTF, which backs Tor, Let’s Encrypt and more, sues to save its funding
by
Nibbled To Death By Ducks
2 days, 16 hours ago -
Updating Windows 10 to Windows 11: 23H2 or 24H2?
by
Still Anonymous
3 days, 2 hours ago -
How can I update “Explorer Patcher”
by
WSplanckster
3 days, 4 hours ago -
Check out the home page for Signal
by
CAS
3 days, 2 hours ago
Recent blog posts
- Removing bypassnro
- Where is Windows going?
- System Guard service error still won’t be fixed
- Third party add ins reminder
- MS-DEFCON 4: Mixed bag for March
- 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
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.