I created an excel template with 50+ sheets and a powerpoint file with 50+ slides, containing linked excel charts from mentioned template.
Every month, I need to build a new report by pasting the monthly data in the excel template's first sheet, which automatically populates all 50+ sheets and charts. However, when I save the file under a new name (say, February sales) the powerpoint remains linked to the empty excel template.
Is there a way how I can make Powerpoint recognise that I have saved the excel template under a new name (in a new map as well) and change the link to the February sales excel file?
Thanks a lot,
Pierre
Related
I have pasted a link (via Paste Special) from an Excel spreadsheet to a Word document.
However, there is a new Excel spreadsheet created monthly to be linked to this Word doc - which means the source link in Word will need to be updated every month. The naming convention for these spreadsheets are "yyyy-mm" and they are always created in the same folder/location.
I know how to manually change the source link once a month, but how could I go about automating this? Any help would be appreciated.
Each month I have to update a set of Powerpoint slides with the most recent data. Each slide has a chart. The data lives in an Excel file as do the charts. There are two business requirements:
I need to paste the chart as linked so that other users can access the underlying data
For each month there has to be a separate folder. I copy in the previous month's slides and Excel file.
Ideally, I would just have to update the data in the Excel file and then open the Powerpoint slides to have them update. The issue is that the charts are linked to the previous month's Excel file.
Is there a way to indicate to Powerpoint to use the Excel file in the same directory? We use version 2016 of the Office products.
On the PPT FAQ site that I maintain, there's a VBA macro that will help with this:
https://www.rdpslides.com/pptfaq/FAQ00759_Search_-_Replace_to_change_OLE_link_paths.htm
Rather than hard-coding the paths, you could substitute ActivePresentation.Path & "" to make it change the OLE links to the same file name but in the same folder as the current 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!
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
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.