programming4us
 
Office
 

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

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
 
 
REVIEW
 
- First look: Apple Watch

- 10 Amazing Tools You Should Be Using with Dropbox

- Sigma 24mm f/1.4 DG HSM Art

- Canon EF11-24mm f/4L USM

- Creative Sound Blaster Roar 2

- Alienware 17 - Dell's Alienware laptops

- Smartwatch : Wellograph

- Xiaomi Redmi 2
 
VIDEO TUTORIAL
 
- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
 
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
 
Top 10
 
- How To Install Android Market & Google Apps On Kindle Fire
- How To Make Ubuntu Look Like Windows 7
- How To Add A New Account in MS Outlook 2013
- Get Android & Mac OS X Style Gadgets For Windows 7 & Windows 8 With XWidget
- How To Activate Microsoft Office 2013
- How To Install Actual Facebook App On Kindle Fire
- How To Create, View And Edit Microsoft Office Files On Kindle Fire
- Download Attractive Business PowerPoint Templates For Free At SlideHunter
- How To Use And Enable Hibernate & Sleep Mode In Windows 8
- How To Get Microsoft Office 2013 Trial Product Key From Microsoft