import excell data into
Microsoft Office Training verified by visa - mastercard securecode about microsoft training company london ukadd this page to your favourites/bookmarksAdd to favourites
view a printable version of this pagePrintable version
email this page to somebodyEmail this page
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » Import of excell data into Access table

Import of excell data into Access table

The UK's most regular instructor-led training courses.
Training information: ms+access+course/ · Microsoft access courses · Microsoft Access Training uk
See also · microsoft access training · access vba courses · access database course

resolvedResolved · Low Priority · Version 2003

Import of excell data into Access table

Darren has attended:
Access Introduction course

by - delegate Darren [1 post] (2008 Apr 7 Mon, 16:07) replyReply

Please could you advise what the best way is to create an access database from data held within excell.

Thanks

Access Advanced 1 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2003 2008 Nov 26 Wed Bloomsbury 3 book now £224 £235
2007 2008 Nov 28 Fri Bloomsbury 3 book now £240 £245
2003 2008 Dec 3 Wed Southwark 7 book now £203 £230
2003 2008 Dec 19 Fri Bloomsbury 6 book now £214 £230
2003 2008 Dec 24 Wed Bayswater 0 FULL    
2003 2009 Jan 7 Wed Southwark 7 book now £203 £230
Full Schedule: See all 47 Access Advanced course dates.
Bookings currently available until 25th November 2009.

RE: Import of excell data into Access table

by - trainer Pete platinum contributer[799 posts] (2008 Apr 7 Mon, 16:55) Edited on 2008 Apr 7 Mon, 16:56 replyReply

Hi Darren, Thank you for the post, Welcome to the forum,
In answer to your question;

Prior to importing from Excel it is necessary to eliminate all of the formatting in the file. This includes, centering, bold, underlining, etc. Also, ensure that there are no spaces in front of the column headings. By eliminating the spaces, you prevent importing errors and column heading issues so Access can recognise the headings.
Below, I have listed a step-by-step guideline for creating an Access table using an Excel file.

Save then close the .xls file.
Next, in Access go to "New" on the "Tables" tab.
Click on "Import table."
Change the "Files of Type" to Microsoft Excel.
Navigate to the "Excel" file that you would like to import.
Select the worksheet or named ranges you would like to import.
In the bottom half of the "Import Spreadsheet Wizard" dialog box, you will see the information that will be imported.
Click "Next."
If you have put the column headings in the Excel file, they are transferred to Access. If the first row of your data contains the column headings, check the box "First Row Contains Column Headings". If your first row of information does not contain column headings, do not check the box.
Click "Next". You will see that the first row of your data is grey and will be the column headings for your table.
To create a new table based on the data you are importing, click on "In a New Table". If you would like to import the information into an existing table, click on "In an Existing Table" and use the drop-down box to select the table name.

Please note that if you choose to edit/add information to this new or existing table each time you open Access. Click the Link option. (If not, you will be taken straight to the last step of the wizard to click on "Finish.")
From the Link option Click "Next."
Select the indexing options for each field by clicking on the field heading to highlight the column then go to the "Indexed" field drop-down box and determine whether or not you would like to allow duplicate values (allows fields on different rows to contain the same information), to not allow duplicate values (fields on different rows must contain unique information), to not index the field.

Indexing the field allows the database to run faster. If you do not want to import a column, click on the column heading to highlight the entire column, then check "Do not import field (Skip)." You can adjust the data types after the table has been imported.
Click "Next."
At this point, decide if you want Access to add a primary key, if you want to choose your own primary key, or if you do not want a primary key. If Access creates a primary key, it will create an ID field which autonumbers your records. If you choose your own primary key, select a column that does not contain duplicate fields. For example, an invoice number field cannot contain invoice 1234 twice in the same column.
Click "Next."
Type the name of your table into the "Import to Table:" field. If you do not want to overwrite an existing table, choose a name that is not currently being used.
Click "Finish."
Once you have successfully imported the file, a dialog box will display that reads: "Finished importing file [filepath] to table [table name]."
You can go to the table’s design view to format the data types, field sizes, create drop-down boxes, index fields, etc.

A bit longwinded I know but at least you will suffer from less errors if you follow those steps, I hope that helped, if so, please click the Resolved link, best regards Pete.


Related articles

· Quick Access Database Courses: A 10 Step Lesson in Encrypting and Decrypting an Access Database
· Microsoft Access and Customer Surveys
· Get More Out of MS Access Courses
· Microsoft Access Tighten your Security Controls
· Three Myths About Microsoft Access

Please browse our web site to find out more about
ms+access+course/ and other Microsoft training courses.

Access tip:

Switchboard Startup

An option when you open your Access database that contains all of you tables, forms and queries is only the switchboard is displayed.

To achieve this, select Tools click on Startup. On the right hand side of the Startup screen you are able to select which form you want to open when you open you Access Database. Once you have selected this, there is a check box just below that says "Display Database Window", you need to uncheck this option. Then click ok.

Then when you close you Access database and re open it, the database should open with just the switchboard being shown


View all Access hints and tips

Institute of IT Training - Accredited Training Provider Microsoft Certified Partner
microsoft office
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider Association of Computer Trainers Valid HTML 4.01 Transitional
Valid CSS Markup

secure online payments - visa - mastercard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Training by application Main information pages See also

Access courses
DreamWeaver courses
Excel courses
MS Project courses
Outlook courses
PowerPoint courses
VBA courses
Word courses
(more...)

Public scheduled courses
On-site training
Closed company courses

Microsoft Office training
Pricing and availability
Training schedule
Training venues

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London

Microsoft Access training
Microsoft Excel training
Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training

Time Management Course London

Interested in Access training? Please see the following pages:
microsoft access courses · microsoft training access course
microsoft+access+training · access courses in london

Training Information

Training Articles

AddThis Social Bookmark Button What's this?
Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo Add to Diigo Add to Mr. Wong Add to Linkarena Add to Power Oldie Add to Folkd Add to Jumptags Add to Upchuckr Add to Simpy Add to StumbleUpon Add to Slashdot Add to Netscape Add to Furl Add to Spurl Add to Blinklist Add to Blogmarks Add to Technorati Add to Newsvine Add to Blinkbits Add to Ma.Gnolia Add to Smarking Add to Netvouz