IT tutorials
 
Office
 

Microsoft Access 2010 : Sharing Data with Other Applications - Importing Spreadsheet Data

- How To Install Windows Server 2012 On VirtualBox
- How To Bypass Torrent Connection Blocking By Your ISP
- How To Install Actual Facebook App On Kindle Fire
12/21/2014 8:12:44 PM

You can easily import an Excel spreadsheet into an Access database. To do so, follow these steps:

1.
Open the database into which you want to import the spreadsheet.

2.
With Tables selected as the object type, right-click anywhere in the Navigation Pane and choose Import from the context menu. (Alternatively, you can select Excel from the Import & Link group on the External Data tab of the Ribbon.) The flyout menu appears.

3.
Select Excel from the flyout menu. The Get External Data – Excel Spreadsheet dialog appears (see Figure 1).

Figure 1. The Get External Data – Excel Spreadsheet dialog allows you to select the file you want to import.

4.
Use the Browse button to select the Excel file that you want to import.

5.
Specify how and where you want to store the data in the current database (for example, Import the Source Data into a New Table in the Current Database).

6.
Click OK. The Import Spreadsheet Wizard appears (see Figure 2).

Figure 2. The Import Spreadsheet Wizard enables you to designate whether you want to import a worksheet or a named range.

7.
Select Show Worksheets or Show Named Ranges (Access does not display this step of the wizard if the spreadsheet contains only one worksheet), and then click Next. The Import Spreadsheet Wizard continues.

If you plan to import spreadsheet data on a regular basis, it is helpful to define a named range in the Excel spreadsheet, containing the data you wish to import. You can then easily opt to import the named range in step 6 each time that you execute the import process.

Finally, you shouldn’t give a control the same name as its control source. Access gives a bound control the same name as its field, and you need to change this name to avoid problems. If you fail to do so, and you reference the field in a formula for the control, #error# will appear on the report in the place of the data for that field. Following these simple warnings will spare you a lot of grief!


8.
Select First Row Contains Column Headings, if appropriate (see Figure 3). Notice in the figure that the first row appears as column headings rather than data. Click Next. The wizard appears as in Figure 4.



Figure 3. Designate whether the first row of the spreadsheet contains column headings.

Figure 4. Designate the specifics of each field that you are importing.

9.
Type the field name in the Field Name text box, if necessary.

10.
Select whether you want Access to index the field.

11.
Indicate whether to import a field by selecting the Do Not Import option for that field, if desired.

12.
Click in the field list to select the next field.

13.
Repeat steps 9–12 as appropriate for each field, and then click Next. The wizard appears as in Figure 5.

Figure 5. The wizard allows you to designate a primary key field.

14.
If your data has a column that is appropriate for the primary key, select Choose My Own Primary Key. Otherwise, select Let Access Add a Primary Key.

15.
If you opted to choose your own primary key, select the field from the drop-down box that you want Access to use as the primary key, and then click Next.

16.
Type the table name in the Import to Table text box.

17.
Click Finish.

18.
Click OK.
 
Others
 
- Microsoft Access 2010 : Sharing Data with Other Applications - Importing from Another Access Database
- Microsoft Access 2010 : Sharing Data with Other Applications - Exporting to ASCII
- Microsoft Access 2010 : Sharing Data with Other Applications - Exporting to an Excel Spreadsheet
- Microsoft Access 2010 : Sharing Data with Other Applications - Exporting to Another Access Database
- Microsoft Access 2010 : Sharing Data with Other Applications - Importing, Linking, and Opening Files
- Microsoft Word 2010 : Using Advanced Text Features - Addressing Envelopes
- Microsoft Word 2010 : Using WordArt (part 2) - Changing the Format of a WordArt Object
- Microsoft Word 2010 : Using WordArt (part 1) - Inserting WordArt Text
- Microsoft Word 2010 : Creating and Formatting Text Boxes (part 3) - Formatting Text in a Text Box, Linking Text Boxes
- Microsoft Word 2010 : Creating and Formatting Text Boxes (part 2) - Resizing a Text Box , Moving a Text Box
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
programming4us programming4us
 
Popular tags
 
Video Tutorail Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS