I want to export data from PowerApps to PowerPoint. Is there any possible way to do that?
This is not possible in PowerApps as you will be needing a connector that can generate these PowerPoint files.
You can however use third party APIs like Aspose Slides or Open XML and use Power Automate Flow to pass your data and retrieve the PowerPoint output.
Related
Visual Studio 2017
Microsoft Teams
Scenario:
Within Teams we have a team with a tab that contains a spreadsheet. Users can enter information w/ a new number and the name of the person responsible etc.
Is it possible that when this item is entered that an email can automatically be sent to the person responsible from within Teams?
I have done some initial research and so far I do see where you can create apps BUT I just would like to know if what I am proposing is possible and if so would it be a monumental undertaking or shouldn't be too difficult.
Any thoughts/feedback appreciated,
Thank you
There are actually two problems to solve here. One, how to detect that something happened in Excel. Two, to take action on that event and send email.
For both of these, you can create Excel macros using VBA (transforming the file from xlsx to xslm). XSLM files require the full Excel client though and don't run well on the web version of Excel. I can't think of another way to do it using Excel.
Currently we have a system which we paid for that pushes information into Excel through a plugin and only into Excel. This is the way the product was designed. In a spreadsheet you enter a command which then pulls the appropriate data.
I wrote a few lines of code to save the data from excel into a SQL database and then push this information onto a webpage so it can be easily viewed.
The problem with this is that it requires Excel to be open 24/7. Every so often Excel will hiccup causing information to stop updating. This is easily fixed by restarting the Excel spreadsheet, but is tedious.
My question: is there any API which allows me to mimic Excel without having Excel open?
Are you looking for a spreadsheet component that can be embedded in an application. You can find a list here:
http://www.devdirect.com/all/SPREADSHEET_PCAT_1977.aspx
After some research on this it has become clear to me that there is no Excel API from Microsoft to allow access to Excel without excel.
I have several PDF documents. Users of my Windows application want to print these PDF files. An additional requirement is to add auto incremented serial number to each printed PDF. The serial number is used for accounting purposes, not for security reasons as someone asked here.
What is the easiest way to implement above functionally?
I know that I can buy commercial license of iText and edit PDF files. However I would like to know if there is a simpler solution. E.g. Add a form field to PDF document, distribute it to my users, and then use some Acrobat Reader command line option to fill in the form field with serial number generated by my application.
PDFTK (The PDF Toolkit) is a command-line app that allows you to edit PDFs with ease. For example, you could use the update_info command to change the meta-data, or apply a background (which isn't all that easy, as it requires another PDF to get the background from)...
Another option is to use the FREE Quick PDF Library Lite.
QP.LoadFromFile(Filename);
QP.SetOrigin(1); // set origin coordinate system to top right corner
QP.DrawText(10,10, mySerialNumber);
QP.SaveToFile(newFilename);
You can find more information at http://www.quickpdflibrary.com/free/lite.php
"Quick PDF Library Lite is available as an ActiveX component and works with C, C++, C#, Delphi, PHP, Visual Basic, VB.NET, ASP, PowerBASIC, Pascal or any other language that supports ActiveX."
Disclaimer : I do consulting work for the QuickPDF products.
Is it possible to configure a Ribbon (e.g. adding a tab etc.) in Office 2010 programatically via VBA? I.e. by writing VBScript code in a macro.
Br. Morten
You can manipulate a Ribbon tab and its controls using VBA, but you cannot create one. Not with the Object Model anyway. The best you could do - somehow - is to get some kind of OPC dll (like an ActiveX component) that handles opening/relationships/closing of OPC documents (like .docx documents) and old school MSXML for creating a ribbon definition and adding it to the package.
Have a look at this blog post for Excel
http://www.xtremevbtalk.com/showthread.php?t=265636
and this one for Word
http://www.wordarticles.com/Shorts/RibbonVBA/RibbonVBADemo.htm
If your UI is static, i.e. you don't need to programatically change the behavior of, or add/remove UI elements on the fly, you can define a customUI within a macro-enabled template. You can use your VBA functions as call-backs for the UI elements defined in the XML.
Have a look at this guide. In a nutshell, you define a customUI\customUI14.xml file within the .dotm archive. This XML describes your custom ribbon elements using this schema.
This definitely works for Word templates (.dotm files). I think a similar approach works for any OOXML format.
I'm looking for a way to inject PresentationML and/or DrawingML into an open PowerPoint 2007/2010 presentation using the Open XML SDK or just System.IO.Packaging. There is an article on doing this with Word, but in that example it is using the Range.XML routine in Word's object model, which I cannot find an equivalant for in PowerPoint's object model.
The reason I'm looking to do this is if I have an item on it that the PowerPoint client does not support editing of but that Open XML does (and as a result, PowerPoint will display it). I want to set this myself via a managed-addin (VSTO) on the open presentation. An example would be the underline of text (not that I'm looking for this, but it is an example) - in PowerPoint, you cannot make the underline of text a picture <a:blip/>, but in Open XML you can.
Does anyone know how to do this?
I am using both OpenXML SDK 2 and the Object Model to process presentations.
What I do, simplistic as it sounds, is to save the presentation, close it, perform all the XML modifications I need using OpenXML SDK, and then load the presentation back and continue with the Object Model.
Nope, according to Microsoft support: http://www.ureader.com/msg/10972430.aspx