Pre-populating PowerPoint file with Excel input - excel

I am currently in the following situation:
I have an Excel file where I perform calculations and charts + diagrams are created based on the calculations.
I have a PowerPoint report where I have to copy-paste these visualizations into.
I will need to repeat this process for many Excel files, all containing the same lay out. You can view them as a questionnaire: each Excel file is completed with different answers, though the structure remains the same.
Is there a way for me to create a template PowerPoint report file, where at the start I select which Excel file to 'load', and it pre-populates my PowerPoint file with the correct charts from the selected Excel file?

ndeed, there is a free option available. With SlideFab 2 (lite) you can automate Excel to Powerpoint without coding: You would need to setup the Powerpoint template and link all shapes with the required Excel ranges or charts. Then SlideFab creates the slides for you. When the structure is really the same, you could just let SlideFab connect to the next Excel file and rerun the slide-making process again.
You could also consider using RDBmerge to collect all workbook sheets into one Excel and using formulas to create a kind of staging area which is used for linking with Powerpoint. This would have the benefit that when you iterate a list of worksheet names, your lookup (e.g. using vlookup or index/match) functions would grab the appropriate data into the staging area. SlideFab could then create all slides at once through changing the selected worksheet in a repetitive way.
In case of questions, feel free to reach out.
Disclaimer: I am the owner of SlideFab 2.
Cheers
Jens

Related

Extracting certain Powerpoint slides based on an Excel table and combine to new presentation

I have a huge PPT presenation (>400 slides) and want to extract certain pages based on an Excel table and create a new, smaller presentation.
I created an Excel table which includes the page numbers as well as the title of each slide in the PPT presentation.
The goal now is, to have a macro that allows me to create a new PPT with all the slides that are mentioned in my (sorted) Excel table.
As I am new with VBA (I am only able to copy/paste code and run it afterwards), I was not able to try anything.
Thanks for your help!

How do you share info between two or more worksheets embedded in a PowerPoint presentation

In Excel, it is easy to link cells on sheets within a workbook or even between separate files.
Is it possible to do the same thing between two or more Excel worksheets which are embedded on to PPT slides?
I've defined a named range in one spreadsheet but there is no obvious way to reference/find that range within the spreadsheet on another slide. Am I missing something obvious here?
I'm hoping that I do not need to use VBA (though I will if that is the only option).
If you looking for a vba solution, this may help you get started:
Update information within unrelated excel objects inserted in slides of a presentation
http://skp.mvps.org/ppt00040.htm#4

Treat .mdb as .xlsx?

I recently made an Excel workbook (with the help of Stackoverflow) where I have a regular input of data (each entry is one row with different columns). I then have a macro that extracts the data from a specified row to a different sheet and saves this sheet as a .PDF.
That way, I can extract specific data from this Excel "database" to a readable pdf. I do this because I need a paper version from specific entries.
For a different project I need to implement the same principle. The only difference is that I need to work with an .mdb file where the data is stored, instead of an Excel workbook.
Is there a way I can reuse my code from Excel or is it now a completely different story?
Thank you for the advice.
You can link your excel workbook to your Access tables. On the "DATA" ribbon there is a section for "External Data".
Once you've got the Access data displayed on one of your worksheets, you should be able to adapt your existing code accordingly.
From Microsoft:
Connect an Access database to your workbook

Convert linked excel into embedded excel

I have a ppt presentation with hundreds of charts that are all linked to the same .xls file. I want to send the presentation to the client and I want him to be able to access the data. However, I do not want him to open the entire xls file when he clicks on edit data.
So what I would like to do is to "convert" the linked charts to charts with an embedded excel that only contains the data concerning the specific chart.
(I am not sure if that's the right way to put it. I feel like the distinction between embedded and linked is not as clear cut anymore as it used to be in previous office versions)
I have found a macro for ppt 2003 that simply copies the old chart and does
Set oSh2 = oSl.Shapes.PasteSpecial(ppPasteOLEObject)(1)
but I think this does now longer work ( I am working with ppt 2013).
Any ideas on how to do this are highly appreciated. Many thanks
If you don't want to give him access to the entire original workbook/worksheet, you'll need to create multiple worksheets, each with just the data you DO want him to be able to get at and then either link or embed those into your PPT file.
If you create the charts using the old MS Graph mini-app (still included, if optionally, with Office) you can link data from an external Excel file into the graph datasheet. I'm almost certain that doing it this way will give others access to the graph datasheet (ie JUST the data used for the graph) but not to the linked source XL file.
I don't see a way of doing this with the new chart engine.

VBA Excel Chart to powerpoint - saving file as multiple outputs

I have a template in excel, and a powerpoint template.
in the powerpoint template I have several charts linked to the excel template.
I want to make a loop that changes something in excel, so that the chart updates, "saveas" for both the excel and powerpoint file, so I have eg. 100 different excel files and 100 different powerpoint files, all build on the templates. I want to be able to manually alter some data in those 100 excelfiles, with the link to powerpoint still intact, so they are updated too if needed.
however, when I open the powerpoint templates, right click on a chart and select "edit data", then the chart is still linked to the excel template, not the saveas version of the excel file?
how do I change the link of a chart in powerpoint, to a different excel filename? the structure in the two excel files are identical.
the chart is created in excel and copy/pasted as "keep source formatting and chain data" (translated from danish)
any help would be greatly appreciated.
I have also tried a solution where the copy/paste is done via vba into an empty powerpoint template, but that is more time consuming, and powerpoint often crashes.
Assuming you have a reference to the shape represented by the linked chart in oSh, this will show you the link:
Debug.Print oSh.LinkFormat.SourceFullName
And this will change it to some other file:
oSh.LinkFormat.SourceFullName = "c:\some\path\yourfile.xls"
Most likely there will also be a !chartname or the like after yourfile.xls ... you'll need to include that.
And save the Excel files first, THEN change the link in the PPT to point to them. If you change the link to point to a non-existent file, PPT won't throw any errors; it'll simply leave the link unchanged.

Resources