- Home
- Products
- Integration
- Tutorial
- Barcode FAQ
- Purchase
- Company
Part 7: Integrating Excel with Other Applications in Visual C#
23 Encoding QR-Code In Visual C# Using Barcode drawer for .NET framework Control to generate, create QR-Code image in Visual Studio .NET applications. www.OnBarcode.comScan QR Code In Visual C# Using Barcode decoder for .NET framework Control to read, scan read, scan image in VS .NET applications. www.OnBarcode.comPart 7: Integrating Excel with Other Applications
Encode Barcode In Visual C#.NET Using Barcode generation for .NET Control to generate, create barcode image in Visual Studio .NET applications. www.OnBarcode.comBarcode Reader In Visual C# Using Barcode scanner for .NET framework Control to read, scan read, scan image in Visual Studio .NET applications. www.OnBarcode.comMicrosoft Office Excel 2003 Inside Out You can also embed an Excel chart by choosing Insert, Object in Word and then selecting Microsoft Excel Chart on the Create New tab of the Object dialog box. Word initially displays a dummy Excel chart that plots food, gas, and motel expenses for the months January through June (see Figure 23-8). Knowing that this is not likely to be exactly the chart you had in mind, it also takes you directly into Edit mode. There you ll find a single worksheet (Sheet1) and a chart sheet containing the dummy chart. You can overwrite the expense-report information on Sheet1 with the data you want to plot. QR Code Generation In VS .NET Using Barcode printer for ASP.NET Control to generate, create QR image in ASP.NET applications. www.OnBarcode.comEncode QR Code In .NET Using Barcode creator for .NET Control to generate, create QR-Code image in Visual Studio .NET applications. www.OnBarcode.comf23ie08
Quick Response Code Encoder In Visual Basic .NET Using Barcode drawer for VS .NET Control to generate, create QR Code ISO/IEC18004 image in Visual Studio .NET applications. www.OnBarcode.comUPC Symbol Generation In Visual C# Using Barcode generation for Visual Studio .NET Control to generate, create UPC A image in .NET framework applications. www.OnBarcode.comFigure 23-8. Not knowing what you want to plot, Word generates a dummy expense-report chart when you choose Insert, Object. Matrix 2D Barcode Printer In C#.NET Using Barcode creation for Visual Studio .NET Control to generate, create Matrix Barcode image in Visual Studio .NET applications. www.OnBarcode.comEAN13 Generation In Visual C#.NET Using Barcode drawer for .NET Control to generate, create EAN / UCC - 13 image in VS .NET applications. www.OnBarcode.comUsing Excel to Supply Mail-Merge Data to Word
Making GTIN - 128 In C# Using Barcode creation for .NET framework Control to generate, create UCC.EAN - 128 image in .NET applications. www.OnBarcode.comDrawing UCC - 14 In Visual C#.NET Using Barcode drawer for Visual Studio .NET Control to generate, create EAN / UCC - 14 image in Visual Studio .NET applications. www.OnBarcode.comMicrosoft Word includes a Mail Merge command that facilitates the batch creation of letters, e-mail messages, envelopes, mailing labels, and directories. You can use Excel tables (as well as many other types of data source) to supply names, addresses, phone numbers, and so on, for use by this command. Before you feed data from Excel into Word s Mail Merge Wizard, be sure your Excel worksheet is well structured for this purpose. Your table should meet the following criteria: Bar Code Generator In Objective-C Using Barcode printer for iPhone Control to generate, create bar code image in iPhone applications. www.OnBarcode.comMaking Barcode In Visual Studio .NET Using Barcode generator for Reporting Service Control to generate, create barcode image in Reporting Service applications. www.OnBarcode.com Each column in the first row should be a field name, such as Title, Salutation, First
Scanning Code39 In None Using Barcode scanner for Software Control to read, scan read, scan image in Software applications. www.OnBarcode.comPainting Code 39 Full ASCII In Objective-C Using Barcode creator for iPad Control to generate, create Code 3 of 9 image in iPad applications. www.OnBarcode.com 23
Create Bar Code In Java Using Barcode maker for BIRT Control to generate, create barcode image in BIRT applications. www.OnBarcode.comDrawing EAN-13 Supplement 5 In None Using Barcode creator for Software Control to generate, create GS1 - 13 image in Software applications. www.OnBarcode.comName, Middle Name, Last Name, Address1, Address2, and so on.
Scan PDF417 In C# Using Barcode decoder for .NET framework Control to read, scan read, scan image in Visual Studio .NET applications. www.OnBarcode.comQuick Response Code Generator In Objective-C Using Barcode creator for iPhone Control to generate, create QR image in iPhone applications. www.OnBarcode.com Each field name should be unique. Every piece of information that you want to be able to manipulate separately in your merge document should be recorded in a separate field. In a form letter, for example, you probably want to work with first and last names separately, so that you can use them both in an address block, but use the last name only (with a salutation or title) at the beginning of the letter. Therefore, your Excel table should have separate fields for first name and last name. 600 Part 7: Integrating Excel with Other Applications
Using Excel Data in Word and PowerPoint Documents
Each row should provide information about a particular item. In a mailing list, for
example, each row would include information about a particular recipient.
Your table should have no blank rows.
To use Word s Mail Merge command, follow these steps: 1 Choose Tools, Letters And Mailings, Mail Merge. 2 The Mail Merge task pane appears. The task pane takes you through six steps. If you re going to create a mail-merge letter or e-mail message, the third step is the one that involves Excel. When you get there, your task pane will look like this: g23ie02
3 To use an Excel table as your data source, select Use An Existing List. Then click
Browse. When you browse to your Excel file, the Select Table dialog box that appears (see Figure 23-9) will display an entry for each worksheet. Specify the worksheet that contains the records you want to merge, and click OK. f23ie09
Figure 23-9. In the Select Table dialog box, you specify the worksheet that contains the records you want to merge. 23
Part 7: Integrating Excel with Other Applications
Microsoft Office Excel 2003 Inside Out
4 The Mail Merge Recipients dialog box appears (see Figure 23-10), allowing you to sort
and filter the data source. Initially, the check box to the left of each record is selected, which means that all records will be included in your merge. To remove particular items, clear their check boxes. (If you want only a few records, you can start by clicking Clear All. Then you can select just those records you want to include.) f23ie10
Figure 23-10. In the Mail Merge Recipients dialog box, you can filter and sort the data source.
For more efficient filtering, you can use the arrows to the left of each field name. These function like the auto-filter feature in Excel, although they employ a markedly different user interface. To restrict the list to a particular set of records (all those with zip codes greater than or equal to 90000, for example), click the arrow next to any field (it doesn t have to be the field you care about), choose Advanced, and then fill out the Filter And Sort dialog box shown in Figure 23-11. 23
f23ie11
Figure 23-11. We ve used the Filter And Sort dialog box to limit our list to zip codes that start with 9. In the Field field, choose the field that will be your filtering criterion. In the Comparison field, choose a comparison operation, and in the Compare To field, specify a comparison 602
|
|