Interactive Excel worksheet in PowerPoint - excel

I'm wondering if there is a solution to add an interactive Excel worksheet into a PowerPoint slide. The idea would be to explain a model without having to move to Excel. The table would not have to update or save, just present the current data. It could even be pasted in.
It might look like:

You can embed an Excel object into a PowerPoint slide and edit the Excel cells in PowerPoint when designing the slide, but not when running the presentation.
An open Excel file is just one Alt-Tab away. Why make things more complicated than they need to be.

Insert the Excel document as an object:
Insert | Object | Create From File and browse to the file you want to insert.
While it's selected, give it an Action Setting:
Insert | Links | Action
In the dialog box that appears, choose Object Action: Open or Edit
Try both, see which suits your PPT version and tastes best. Here, either one opens the document in Excel atop the presentation window; no need to bounce out and open Excel or make sure it's open first.

Related

Is there a way to share a Excel VB Macro as a tool for all future workbooks?

I made a VB script that re-formats data exported to excel from a website so that it is compatible with a geocoder. As of now every export I have to go in, past the VB code run it and save the changes. I am wondering if there is a way to make the VB code available as a tool for all workbooks so it is just a matter of opening the xls file clicking a button and saving it?
To expand a little on BigBen's comment:
Open the Excel file with your code in. Open a new blank Workbook. Open up the VBA Editor (Alt-F11).
Drag the module which contains your code to the new workbook (in the left-hand navigator pane). You should see it add to this new Workbook.
Save you new workbook as MyFunctions (or whatever name you fancy) but choose the "Excel Add-in (*.xlam)" file type. You should see a new file appear in your folder as MyFunctions.xlam.
Back in Excel, from the File menu, choose Options (right at the bottom). And then Add-Ins from the left-hand list. At the bottom will be a drop-down box "Manage: Excel Add Ins". Hit Go...
You'll a list of the add-ins that your Excel knows about: some will be checked (that is they will be loaded at start-up) and some not.
Choose Browse, and navigate to wherever you saved MyFunctions.xlam. And double click on it. You may get a security warning (as your addin doesnt have a digital signature) but just go ahead and enable it (as you wrote the code: this is not blanket advice!). Close Excel (this remembers your choices).
When you next open Excel you should see your add-in file open in the VBA Editor, and your macros and UDFs available in whatever worksheet you are using.

How to open specific excel file from Blue Prism?

I recently got an assignment to create a robot in Blue Prism and I came to a problem.
I need to open a specific excel file and work whit it.
My application modeller is set to windows application, launched from an exe file. I can launch excel without any problems but when I'm using "Action->Buissnes Object(MS Excel VBO)->Open Workbook", nothing happens.
Xlsx is not opening.
If I go whit "Open Workbook" and after that "Get Worksheet as Collection" it actualy pulls data from a file to my collection, but again its not opening the file on screen.
What I'm doing wrong?
Should I create/open instances before?
How do they work?
To work with the Excel process you SHOULD use MS Excel VBO object. The sequence of Actions to Read an Excel file is as follows:
Create Instance: To start a session of Excel. It basically creates/open a blank Excel file.
Open Workbook: To open the required Excel file.
Show: To view the Excel file (it’s invisible by default). This steps in OPTIONAL.
Get Worksheet As Collection (Fast): To read the Excel file data and store it in a collection.
Close Instance: To gracefully close the Excel Instance.
First, in your object studio, you need to use action with "Open Workbook" object using MS Excel VBO. Next step will be another action with "SHOW" object from MS Excel VBO.
With first action, BP will open workbook, but it wont be visible on the screen all the data from that workbook will be available. Second action will actually show that workbook on your screen.
you can use show action from MS Excel VBO if you want to show your excel on screen. Open Workbook and get worksheet as collection is better way to get data from excel.
In MS Excel VBO one property available "Get worksheet name" select that option under the options 'get work sheet position' you can give worksheet position.for example u want to opened 3 sheet ,u will give 3.
To work with excel you should use Excel VBO and don't have to launch by defining application moduller.
Below actions from MS Excel VBO should work.
create instance
Open workbook
Show

How to inject excel data to embed powerpoint chart with VBA

I want to know how we can inject excel data into embed powerpoint chart.
Any information that I search taught me how to do it, but with create new presentation. I need to update the existing chart from powerpoint using data from excel.
And the method should not be update link or something. Because I deal with more than hundred charts, I'm afraid linked method will take huge resource that cannot handle by my device. The other reason is I need to keep the chart editable in powerpoint (something that cannot done with paste link method).
Any suggestion?
Thanks
it depends of the version of you office. I have 2016 office, so it is very simple to do
these are the steps
Go to INSERT and lok for "Tables", then the opcion called (excel)
An excel view is going to open, then in the sheets you can inser your information, make a table format also
In the excel view the go to Insert, Recommended graphics and select the one you want
here some photos
step 1
excel view

Enabling macros in chart data sources in Powerpoint

I have a Powerpoint file with many charts that I expect many different users to use with their own data. I'm trying to make this Powerpoint as easy to use as possible by writing VBA into each data source (by data source, I mean the default Excel sheet that is embedded in Powerpoint when you select "Insert" > "Chart"). My goal is to allow them to click the chart, select "Edit data," paste info from a PivotTable into the Excel window that pops up, and let the macro does the rest. The code I can write myself, but I have a different problem:
I've tried writing macros in these embedded Excel files but they do not save once they are closed (I assume they must be .xls or similar and not .xlsm). How can I get these macros to save? I've tried drag and dropping .xlsm files into Powerpoint, but it shows the actual charts on the slide and it's difficult to work with. I'd like the Excel files to be hidden from Powerpoint view and easily accessed using the "Edit data" option.
I hope this description makes sense, if not I can explain further / answer any questions.
Thanks!
Can't you just provide PowerPoint charts, and have them paste data into each chart's DataSheet in PowerPoint?
Of late, PPT does its best to convert pasted charts into PowerPoint charts (same basic engine as Excel charts but they're not Excel objects). You can get round this if you copy the chart from XL, switch to PPT and on the Home tab, click the downward pointing arrow below Paste, pick Paste Special and choose to paste as embedded Excel chart object.
You can then doubleclick the pasted object and Excel will launch for in-place editing.
Or you can right-click, choose "Macro enabled worksheet object" or whatever, and then opt to Open or Edit. Edit gives you in-place editing within the PPT window, Open launches the embedded data in a full copy of Excel.

Embed spreadsheet in a powerpoint in sharepoint

I want to embed specific cells from a spreadsheet in a powerpoint presentation. I have seen this done before with macros (I think), but I have never done it myself. I have done a little googling and am coming up with 50 solutions. Can someone help me narrow it down.
The big gotcha here is that both of these files will be in one folder in a document library in a sharepoint site. The other gotcha, which is kind of a given, is that I want the ppt to update to latest excel data when it is opened.
This is much simpler than I thought. Here is the answer for anyone else who is attempting this:
Make sure the files are in their final folders you want them in
Open the files
Select the Cells you want to display in the ppt - Ctrl - C to copy
Edit -> Paste Special in the ppt slide you want the cells to display on
Paste as a MS Excel Worksheet Object AND select the "As a Link" checkbox on the left
Size it however you want
Save the ppt
Each time you open the ppt you select "update links" and the ppt gets the latest data from the xls
The sharepoint part is no big deal, it appears to just work like it would if the files were local
These instructions are for Office 2003, they are likely similiar for other officer versions.

Resources