Text Wizard screenshot
The Text Import Wizard helps create worksheets from text files
R E L A T E D   C O N T E N T
ADVERTISEMENT

Hands on: Import and export data from Excel spreadsheets

Four options for dealing with the ins and outs of the software

Stephen Wells, Personal Computer World 08 May 2008
ADVERTISEMENT

Bearing in mind the frequency with which new versions of software lack backwards compatibility, it was heartening to receive a message from Michael Hart: “Since the days of Multiplan, father of Excel, I have been running a portfolio system for share valuations with many intersheet links which depend on picking up share price information, using DDE links, from Updata’s Technical Analyst program.”

Fancy that. Imagine anything that would run with any version of Excel all the way back to its predecessor. It’s true that Michael was writing because he found that the DDE links wouldn’t work with Excel 2003. I referred him to the Office 2003 Editions Resource Kit in the Microsoft Support Knowledge Base.

But it got me thinking about other ways of entering data in a spreadsheet instead of using a keyboard. Dynamic Data Exchange (DDE) was very popular at one time. It was a protocol for exchanging data between Microsoft Windows-based programs that is now considered insecure.

The User’s Guide for Excel 4 described how to write DDE command macros to start, send data to and retrieve data from other applications. You could even direct Excel to send keystrokes to other applications. These days Microsoft recommends using object linking and embedding. It’s safer because self-written macros aren’t involved. The instructions are included in Excel’s code.

Alternatively, you can import or export data. Embedding and linking let you put a document from one Windows application into another. Both documents remain in their original format though.

If you embed an Excel table in a Word document you can still use Excel to edit the embedded table. If you use linking, the copied information can be refreshed when the original Excel table is changed. You might have a Powerpoint presentation that relies on information from an Excel worksheet.

When you update the data on the worksheet, the presentation can automatically be updated if they are linked. If you have no reason to combine documents but want to use data from one application in another then importing or exporting is more appropriate. You might have a list of names and addresses in a Word document but want to create a simple database from them.

You can either export them from Word to Excel or open Excel and import them.

Embedded reports
Embedding data from Excel into a Word document is easy. You might have a Word document that will eventually become a page in an annual report and an Excel chart of comparative sales figures. Open both files. Right-click on the chart and choose Copy. Switch to the Word document and click where you want the chart to appear. On the Edit menu choose, Paste Special.

In the displayed dialogue box choose Paste or Paste link and Microsoft Excel Chart Object. The chart will appear in the word document with a Smart Tag. This offers you the choice of having just a picture of the chart, an embedded chart, or a link to the original.

If the chart is linked, and you change a value on the original, the change will immediately be reflected on the chart in the Word document. If the chart is embedded, there is no link but Excel facilities are available so you can make changes to the chart in the Word document.

If you have chosen to have just a picture of the chart then it becomes a graphic and there are no Excel editing facilities.

Importing
Apart from DDE and OLE (Object Linking and Embedding) there are other ways of transferring data into an Excel file, including ODBC (Open Database Connectivity), OLAP (On-Line Analytical Processing), and SQL which is a computer language for retrieval of data developed by IBM in the 1970s.


All Software Applications
Tags: Software, Office Software

Like this story? Spread the news by clicking below:

Post this to Delicious del.icio.us    Post this to Digg Digg this    Post this to reddit reddit!

Permalink for this story
R E A D E R   C O M M E N T S
M A R K E T P L A C E
Get your free demo of Numara Track-It! 8 - the leading help desk solution for IT related issues.
Make presentations, review documents & share your entire desktop. 30-day free trial! (cc required).
Discover how remote support can fuel your IT business in ways you've never thought of before.
Apply ITIL best practices at your service desk while eliminating integration cost. Learn more here.
WAN based, automated, daily vulnerability assessments. Click here to try and request our whitepapers.
Have your product or service listed here >   
Sponsored links
F E A T U R E D   J O B S
Hove, United Kingdom | Brighton & Hove City Council
 Assistant Director / Head of ICT, c£75k plus relocation, Hove  Technology has a huge part to play in people's lives. It empowers them, supports them, sets them free and makes their lives easier in a million ... more >
Stoke, United Kingdom | Staffordshire University
Senior Applications Developers, Stoke, £24,403 - £28,290 PA Staffordshire University has evolved into one of the country's most dynamic, progressive and forward thinking Universities.  We are looking for two customer focused and highly motivated team ... more >
Leeds, United Kingdom | UKCRN
 Application Developer (Role 1), Leeds You'll be part of a project team designing, developing, testing and delivering web applications, using ASP.NET 1.x , 2.0 and/or 3.x  (VB.NET and /or C#), HTML and web scripting to ... more >
United Kingdom | Sumisho Computer Systems (Europe) Ltd
System Engineer Sumisho Computer Systems (Europe) Ltd provide customers with a world of enhanced IT solutions. The role will involve maintenance of Oracle database server and web application server. The candidate must be able to ... more >
More job opportunities