link excel objects from server to powerpoint - excel

Is there any way to paste objects from excel sheet located in server into my local ppt presentation ?
Both of them should be linked so that whenever the excel file in server changes,my presentation linked to that file also changes.
When I go to paste special options of my PowerPoint presentation there is no way to paste the server excel object as a linked one.
Anyone having any idea how can I do so?
Thanx!

In order to Paste Special / Link, the data to be linked has to be on the clipboard. There's no way (or none that occurs to me) to put data on the clipboard of one PC from an app running on another PC/server.
However, you could create the link from a copy of the XL file on the local PC, then modify the linkpath to point to the same file on the server, assuming that the file's available to the PC via a UNC or mapped drive path.
There are several bits of example code on the PowerPoint FAQ page that I maintain:
Batch Search and Replace for Hyperlinks, OLE links, movie links and sound links
http://www.pptfaq.com/FAQ00773_Batch_Search_and_Replace_for_Hyperlinks-_OLE_links-_movie_links_and_sound_links.htm

Related

Is there a way you could pull from sharepoint using VBA?

I have coded a macro that takes data from current document (excel) to another document (Excel) from a specific file folder.
Now the company is moving to share point. Is there a way to do that?
Now my VBA code is in an excel that:
Opening different -file path- excel file.
Copying and pasting data from one excel to other excel.
Can I access share point for the specific file path?
I have tried
‘’’ActiveWorkbook.FollowHyperlink Address= “link” ‘’’
But this will not allow me to continue in the macro since it does not open the excel in the app. Rather it opens the direct internet url hyperlink.
Yes you can access Sharepoint with a specific file path. If you sync the relevant Sharepoint folder, it will appear in your File Explorer and you can copy that file path to use in the VBA code.
https://support.microsoft.com/en-us/office/sync-sharepoint-files-and-folders-87a96948-4dd7-43e4-aca1-53f3e18bea9b

Does SharePoint support Excel spreadsheets linked to each other?

I have a master excel sheet on sharepint (called "masterfile.xlsx") that I want to link to another Excel file (called "file-test.xlsx") in different folders on sharepoint.
I need that the "masterfile.xlsx" reflect any changes in the worksheet "file-test.xlsx"
Thanks
Write your formulas in your master workbook to include the URL to the online content. The links will not update when you display the master workbook in the browser (online), but can be updated by opening the master workbook in a desktop Excel.
='https://yourDomain.sharepoint.com/sites/yourSite/Shared Documents/[yourExcelFile.xlsx]Sheet1'!$A$1
You can link them using Excel's PowerQuery:
https://answers.microsoft.com/en-us/msoffice/forum/all/linking-two-excel-worksheets-in-sharepoint-online/cfe2741b-f09b-4d22-93ee-37218261a4d4
You can relink the files using Mapped Drives (mapping a drive letter to a SharePoint library), but this is not a good solution unless all users of the Excel file are willing to map to the library using the same drive letter.

Convert Excel with internal links to pdf

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!

Create dynamic link to embedded documents in Excel WITHOUT VBA

Firstly, I realise this problem could be solved with VBA, but I am looking to keep this workbook macro-free.
What I am trying to do is have several Excel workbooks embedded into my workbook (each embedded workbook is specific to a factory). I want to create a cell that acts as a dynamic hyperlink, which changes depending on which factory is filtered (I don't have any issues creating this dynamic hyperlink myself). The part I don't know how to do, is create a hyperlink that opens a document that is embedded within the workbook. I can make a hyperlink that opens a file saved in a directory, but I need to be able to share this workbook with multiple users, therefore I am embedding the documents.
Hopefully this makes sense - to summarise; I need to create a button/hyperlink that opens an embedded document WITHOUT VBA.
Many thanks
You have an EXCEL function HYPERLINK that receives a string (i.e. URL) as the first parameter. You can of course set BUILD the URL with a formula or a reference to other cell.
For instance, if you set in a cell the value:
=HYPERLINK("http://www.google.com")
and link on it, Google's page will be open on your browser. If you set the link to point to a file (any file) it will open it with the suitable application (e.g. Excel).
Is this what you were looking for?

How to copy from Excel to Word without using the clipboard?

I've written a C# application that copies cell ranges of an Excel workbook as images in a Microsoft Word document, using the Excel.Range.CopyPicture or Excel.Range.Copy methods.
But processing big Excel files can take time, and if the user uses the Clipboard in an other application during the process, my application can crash.
I'm wondering if there is a way to copy Excel cell ranges as images in a Word document without using the clipboard, to avoid this kind of issues.
Thanks for your help,
Julien
There is a solution, I have used ages ago:
Copy the data to a new worksheet and save that worksheet as a pdf, in turn, extract the picture from the pdf and than save that picture as a new file. in Word, use the addpicture method to load the file from disk...
Very clumsy, but it is reliable....
What about copying the image to the clipboard like you're doing, but then immediately saving that image as an image in your code? That way, you can still use your old procedures and store the image internally - no longer having any dependancy on the clipboard.
I did the exact same thing in a question I asked just earlier this week - Look at my posted solution:
Control Excel Within WebBrowser Control
Just use the image as needed now that you have it stored internally and set it to nothing as soon as you can to save on memory.
Hope this helps

Resources