Convert Excel with internal links to pdf - excel

I am trying to convert an excel with internal links(i.e. links to different places within that same excel) to a pdf. I have gone through the several posts available online in this regard and couldn't seem to find any proper solution for such a conversion. The solutions provided mostly works for the external hyperlinks and not the internal one's. Is it even possible to do so? Is there any software that might be able to achieve this functionality?
Basically, I am looking to migrate whole of the excel workbook to one single pdf such that every link between different worksheets in that workbook still works. For example, if I have provided a link in worksheet one that points to a named section in worksheet two, I would like this relation to be maintained within pdf as well. So, in the resulting pdf when I click on the link, it should take me to that named section location in the pdf.

Solution to keep internal and external links that works:
Install Office 2013/2016
Install Adobe Acrobat PRO 11 (for Office 2013) or Adobe Acrobat DC (for Office 2016)
Open Excel file and use "Save as Adobe PDF" entry from the File menu. Screenshot below. This pops up another dialog where you select sheets for saving.
Main idea is to have Adobe Add-in active inside the Office ribbon and File dialog.
Works like a charm! Finally!

Related

Create PDF bookmarks Within Excel Workbook

I'm attempting to build a monthly process that converts an excel file to a PDF with bookmarks for each respective sheet. I'm not seeing a method to successfully create PDF bookmarks from within the Excel workbook. Can this be accomplished without third-party software?
What I've tried:
Using Header 1 for a cell as well as an entire row.
Putting Excel Book Mark within the file using a hyperlink reference.
Adding named range.
OneDrive flow Convert File
Adding a Header.
Reviewed some VBA Ref libraries hoping to find an object.bookmark type approach.
Unfortunately, all attempts have resulted in a PDF file with no bookmarks.
Is there a method to create PDF Bookmarks from Excel? Possibly a VBA ref library that I am unaware of or some front-end trick? Unfortunately, I'm stuck working only with Microsoft tools. Adobe's Excel Add-On does exactly what I'm trying to achieve.

How to know that a VSTO Word and Excel addin is being started by the Windows Explorer preview pane?

I have noticed that when users have the Windows file explorer preview pane enabled and then view a Word or Excel file, that my VSTO addin is started. Further my addin starts again when the user double clicks on a excel or word file.
What properties in Word and Excel do I need to check at startup to know that it is the preview pane?
For people's reference I did find a discussion on this for Powerpoint in this SO question.
When Word and excel are started by the file explorer as a preview then what I have found is that you can check for a commandlinearg of -Embedding
Environment.GetCommandLineArgs().Contains("-Embedding"))
Detecting Automation of Excel is where I found this answer. This question is about automation.
Also when a user embeds for example Excel in Word and then edits the embedded Excel the VSTO addin will start multiple times. You can check for the -Embedding arg for this as well.
Typically the ribbon bar is not visible when Office applications are used for rendering documents in the Windows explorer. You may use the following code to check that:
Application.CommandBars("Ribbon").Visible

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.

How to update live links in PPT from Excel - while in Slideshow mode

I have pasted (paste special, paste link) data a cell in Excel into PPT.
I update the excel data and simultaneously I can see the data change in the PPT slide (edit mode)
However, when I run the PPT slideshow:
the data does not update (in PPT when I update in Excel)
the data no longer updates, even when I return to PPT edit mode
Does anyone know if it's possible to have a live link within the PPT slideshow?
(that's not broken by running the slideshow).
[MSOffice 2010 on Win7] VBA can probably help, but I'm not a VBA programmer...
This stackoverflow.com link is very similar, but needs VBA: Linked Excel Object in Powerpoint wont update when showing in slideshow
TIA
PS Context: This is so that I can display an ever-changing number at an auction on one screen (eg on PPT slide), when I change the data on another (eg Excel) using [dual display: laptop + TV]
This needs to be done using VBA and a class module, as far as I'm aware. There are several potential solutions in the link you provided, but without VBA, I don't think this is possible.
Fortunately, someone else has created an add-in designed to resolve the problem you're facing. I think this may be for an earlier version of PPT, so it might not work for you, but it would be a great place to start.
You might consider trying the Add-in which can be found here:
http://skp.mvps.org/updtlinks.htm

VBA / Macro - How to avoid importing Module for Every file [duplicate]

I have a report that I run from a system once a week, and the data is exported into an excel document. I have set up the tool that exports the data to excel to do a decent job on formatting, but there is still more that I need to do once the data is in excel.
Is it possible to create a stand alone macro, save it in a Microsoft office folder and be able to call it after I open this file? I have written plenty of macros that are part of ONE given spreadsheet, but never tried one that was open to many spreadsheets.
IS it possible, and a starting direction of good resources of where I can learn how to achieve this goal? Thank you.
...and be able to call it after I open this file?...
You have 2 very good options
1) Write and save your macro to Personal file. See this link for more information
Topic: Deploy your Excel macros from a central file
Link: http://office.microsoft.com/en-us/excel-help/deploy-your-excel-macros-from-a-central-file-HA001087296.aspx
Quote from the above link:
Have you ever wanted to use that really handy macro in all of your Excel worksheets? You can. This column explains how to place your macros in a file called personal.xls and make them available each time you start Excel.
2) Create an Add-In
Topic: Creating an Excel Add-in
Link: http://msdn.microsoft.com/en-us/library/aa140936%28v=office.10%29.aspx
Quote from the above link:
You create a Microsoft® Excel add-in by creating a workbook, adding code and custom toolbars and menu items to it, and saving it as an Excel add-in file.

Resources