computing for todays lecture 11(1)

32
1 Computing for Todays Lecture 11(1) Yumei Huo Fall 2006

Upload: kipp

Post on 23-Feb-2016

35 views

Category:

Documents


0 download

DESCRIPTION

Computing for Todays Lecture 11(1). Yumei Huo Fall 2006. Integrating Microsoft Office 2003. Tutorial 1 – Integrating Word and Excel. Learn about object linking and embedding (OLE). - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Computing for Todays  Lecture 11(1)

1

Computing for Todays Lecture 11(1)

Yumei HuoFall 2006

Page 2: Computing for Todays  Lecture 11(1)

2

Integrating Microsoft Office 2003

Tutorial 1 – Integrating Word and Excel

Page 3: Computing for Todays  Lecture 11(1)

3

Learn about object linking and embedding (OLE) You can easily share data that you create in

different Office applications through object linking and embedding, or OLE. For example: You want to insert a chart you create in

Excel into a memo you generate in Word You want to merge a letter you create in

Word with names and addresses you have stored in an Access database

You want to transfer an outline you create in Word to a PowerPoint presentation

Page 4: Computing for Todays  Lecture 11(1)

4

Object Linking and Embedding

Page 5: Computing for Todays  Lecture 11(1)

5

Embed or link objects With OLE, you can share data in one of two

ways: Embed data created in one application (the

source) in a file created in a different application (the destination).

A copy of the object becomes part of the destination file, and any changes you make to it does not affect the original file

Link data, so that any changes made to it, in either the source file or the destination file, automatically take effect in the other file.

The object exists in only one place

Page 6: Computing for Todays  Lecture 11(1)

6

Embed an Excel object

Page 7: Computing for Todays  Lecture 11(1)

7

Link an Excel object

Page 8: Computing for Todays  Lecture 11(1)

8

Compare the embedding and linking processes

Page 9: Computing for Todays  Lecture 11(1)

9

Embed an Excel chart in a Word document You can graphically illustrate data in a Word

document with a chart created in Excel. When you embed a chart in a Word document,

the chart becomes part of the Word file, which is the destination document.

You should only embed a chart if you don't expect the data upon which it is based to change.

That's because changes made to the data in the source document, the Excel workbook, are not reflected in any files in which the chart has been embedded.

Page 10: Computing for Todays  Lecture 11(1)

10

How to embed an object To embed an Excel chart in a Word document:

Open the Excel document containing the chart Select the chart and copy it from the Excel

worksheet to the Clipboard Click in the Word document where you want to

insert the chart Click the Paste Special command on the Word

document's Edit menu to open the Paste Special dialog box

Make sure the correct object type is selected, click the Paste button, if necessary, and then click OK

Page 11: Computing for Todays  Lecture 11(1)

11

Copy the object to be embedded

Page 12: Computing for Todays  Lecture 11(1)

12

Prepare the Word document to receive the Clipboard object

Page 13: Computing for Todays  Lecture 11(1)

13

The Paste Special dialog box

Page 14: Computing for Todays  Lecture 11(1)

14

The embedded chart

Page 15: Computing for Todays  Lecture 11(1)

15

Edit an embedded Excel chart from within Word When you embed an Excel chart in a Word

document, the chart is stored in the destination file, and thus, becomes part of it.

You edit embedded data using the application in which it was created.

You Double-click the chart to open Excel and gain access to the Excel menu bar and commands, but you never leave the Word application.

Page 16: Computing for Todays  Lecture 11(1)

16

Select the chart to edit it

Page 17: Computing for Todays  Lecture 11(1)

17

Modify the chart

Page 18: Computing for Todays  Lecture 11(1)

18

The modified embedded chart

Page 19: Computing for Todays  Lecture 11(1)

19

Link an Excel worksheet to a Word document Linking an Excel worksheet to a Word

document creates a direct connection between the source file and the destination file.

The Excel worksheet, or object, is stored in the source document only.

Any changes made to the source file are automatically reflected in the destination file.

When you create a link, it's important to remember to store both the source and destination files in the same location.

Page 20: Computing for Todays  Lecture 11(1)

20

How to link Excel data To link worksheet data to a Word document:

Open the Excel document containing the data Select and copy the worksheet data to the

Clipboard Click in the Word document where you want to

insert the data Click the Edit menu and select Paste Special to

open the Paste Special dialog box Click the Paste link option in the Paste Special

dialog box, select the object to link, and click the OK button

Page 21: Computing for Todays  Lecture 11(1)

21

Use the Paste Special dialog box to link an Excel object

To link an object, make certain the Paste option button is NOT selected, and the Paste link option button IS selected.

Select the object to be linked in the text box, and click the OK button.

Page 22: Computing for Todays  Lecture 11(1)

22

Use the Paste Options menuto link an object

Page 23: Computing for Todays  Lecture 11(1)

23

The Paste Options Menu commands

Page 24: Computing for Todays  Lecture 11(1)

24

Update a linked Excel worksheet The advantage of linking is that when you

update or modify data in the source file, the data is automatically updated in the destination file.

You can have the source file, or both the source file and destination file open, when you update a link.

You might find it useful to have both files open and tile the windows so that you can watch the link automatically updated in one of the files when you make a modification to the other file.

Page 25: Computing for Todays  Lecture 11(1)

25

Tile the Word and Excel documents

Page 26: Computing for Todays  Lecture 11(1)

26

Edit the linked object in the source program It is not necessary to have the source and

destination files open when you update a link. You can make changes to worksheet data

that's linked to a Word document without ever opening the Word application.

The next time you do open the Word document, you will see the changes made in the Excel file have been automatically updated in the linked object in the Word document.

Page 27: Computing for Todays  Lecture 11(1)

27

View linked object changes in Word

Page 28: Computing for Todays  Lecture 11(1)

28

Test and break a link Sometimes you want to break (remove) a

link. You will want to break a link if you intend to

move either the source file or the destination file to a new location.

Remember, linked files must be stored together and if you change the pathname of one of the files, the other file will not be able to locate the linked data when it's updated.

You use the Links dialog box to break a link.

Page 29: Computing for Todays  Lecture 11(1)

29

How to break a link To break an existing link:

Right-click anywhere in the linked table, point to Linked Worksheet Object on the shortcut menu, and then click Links to open the Links dialog box

Select the link in the list box, click the Break Link button, and then click Yes to confirm that you want to break the link

To test that the link is broken, open the source file, make a change to the linked data, and then open the destination file.

The change should not have been made to the data in the destination file

Page 30: Computing for Todays  Lecture 11(1)

30

The Links dialog box

Page 31: Computing for Todays  Lecture 11(1)

31

View the final document

Page 32: Computing for Todays  Lecture 11(1)

32

End of lecture 11

Thank you!