Word Docs with Embedded Links to Excel

EMBEDDED LINKS TO EXCEL WITHIN WORD

Did you know you can link live Excel charts and tables within a connected PowerPoint presentation or Word document?

In a recent project that came to us a client was looking for a way to bring multiple sections of an Excel document into different parts of a Word document. The Excel file would be continually updated, so the need was for these live updates to automatically be reflected in the Word document without the need for the users to complete lengthy edits of the Word document every time.

There are a few ways this could have been achieved:

Word Paste Special

In this particular instance, the Excel file in question was a fully fledged file in its own right that would be updated/accessed outside the need to just update the Word file and so the embedding method was ruled out. The custom VBA approach would require too much development time for this project. So, the linked Excel route was taken.

The Copy and ‘Paste Special’, ‘Paste Link’ method can be used across multiple charts/tables or ranges of cells to bring in multiple separate objects/sections into the Word/PowerPoint doc.

Project Flow Chart

Once the linked objects were now in place, upon opening the Word file the user would receive the following message.

Word Links Warning

Upon selecting ‘Yes’, MS Word would seek to update any of the linked elements in the document with the very latest data available.

A few things of note here;

It is best to keep the linked files stored within the same root folder and to not rename the Excel file. If stored in the same location and the Excel file is not renamed, they should remain linked.
If the link between Word and Excel does become broken it can be reset in Word by going to File>Info>Edit Links to files.

 

If you select ‘Yes’ while the Excel file is closed, Word may take upwards of a minute to open and refresh the data. If, however he linked Excel file was opened first, this updating process is instant. As a result, it is highly recommended to first open the Excel file, then open the word file and to select ‘Yes’ to the update links message. This is particular true where there is more than one object/section linked.

If you have a project where linking to Excel is a requirement, please do not hesitate to contact Olas to discuss how we can assist you on the project.

Olas Team Member - Fergal

Fergal O'Connor

Senior Technical Consultant


fergal.oconnor@olas.ie
Mobile: +353 86 841 3708

Development Case Study: University Thesis Database: Microsoft Access, SharePoint, Word and Excel

An Application Development Team Case Study:

Olas Logo

University Thesis Database: Microsoft Access, SharePoint, Word and Excel

Technology: Microsoft Access, Microsoft SharePoint, Microsoft Word and Microsoft Excel

Client: One of Ireland’s Top Universities
Year: 2020

As part of this redevelopment project, Olas breathed new life into an older MS Access application that had evolved internally in the university over a large number of years. The Thesis database was a central repository for recording students, examiners and Thesis data that then would be used in reporting on and creating all external typed letters from the department.

A key incentive for this project to get the go-ahead was the need to find a new home for the database as the traditional file-server networked drive that it sat on was now being decommissioned in favour of newer cloud based technology. What was now once a standalone MS Access application was now redesigned as a MS Access front-end application (screens and functions) with the data migrated to a SharePoint Lists back-end setup. This new setup was successfully achieved with no loss to performance or function.

In redeveloping the solution, we gave it a new improved interface, search features, security and reporting to MS Excel and MS Word based mail merge functions to create letters. We firstly began by streamlined the system by removing obsolete elements and to redesign the setup of the system to make it much more usable and maintainable for the users going forward. The other key part of this project was to introduce a new, detailed, custom mail merge facility. The new setup led to the creation of 35 separate MS Word letter templates which then would be called upon by the systems custom mail merge process, which would further populate the more individual elements of the letters. These generated letters could in turn be saved as MS Word document, as PDF’s, as email attachments or even as the body of an email itself. For a single student or examiner record it could be the case that the system could generate a single email with up to five separate generated documents attached. The setup of the letter templates as MS Word documents has meant the letters are extremely easy to update and format as required by the users going forward, or to even add new letters to the catalogue of documents that is populated by the system.

The end deliverable was a hugely successful migration of an old MS Access database with a soon to be made legacy environment setup, to that of a new setup utilising a SharePoint backend. While also providing a much needed modernised look and feel with an extensive mail merge facility.

Olas Team Member - Fergal

FERGAL O’CONNOR
SENIOR TECHNICAL CONSULTANT


Mobile: +353 86 841 3708
Email: fergal.oconnor@olas.ie