How to make excel linked to another excel file in Sharepoint 2010 - excel

I have 3 Excel files that are uploaded in Sharepoint 2010. In one theme every cell links to one of three Excel files. In Sharepoint without opening in Excel on desktop, is there any way to update linked data? Is there any way to run VBA?
Sorry for my bad English.

VBA and external data ranges (also quoted query tables) are not supported by SharePoint 2010 and neither so by SharePoint 2013 while using Excel Services to view these files online.
These features are only supported if you open them within Excel itself.
Here is the complete answer from Microsoft:
https://msdn.microsoft.com/en-us/library/office/Ff595319.aspx

Related

Creating Word document from Excel Add-In with Office.js

Is it possible to create a .docx file from an Excel Add-In written in office.js?
My use case would be to open an Excel file (on Windows, so the host is an Excel Application), open the Add-In and the Add-In creates a Word document based on data within the Excel file.
From the things that I've seen, it is not possible to call the Word.run() host function from inside a Excel Add-In. I will always get an error that the namespace Word is unknown.
Is this even an intended feature to make 'cross-host calls'?
I had almost the same question: How to get the active PowerPoint presentation from Excel in office.js? and got the answer:
An Office add-in can only work with the Office application (Excel,
Word, PowerPoint, etc.) in which it is open. It cannot reach outside
the Office application to work with a document in another Office
application.
Eventually I moved back to VSTO and C#

Loss of number/date formatting when linking MS Excel files to MS Access

Hi and thanks in advance for the help.
I have an Access 2007 database that has tables created by live links to several Microsoft Excel 2010 spreadsheets.
I have several Access macros that run queries against these linked tables, and I find that the formatting of the output is in very strange formatting if I run the macros, without first having those linked Excel spreadsheet files open.
To put it another way, if I open the linked spreadsheets and run the Access macros, all the data formats correctly, but if I have the linked Excel spreadsheets closed when I run my Access macros, the formatting goes all funny - particularly with date fields.
Can anyone offer any advice on how I can resolve this problem?
Many thanks
Kim
I usually create a straight select query for each linked Excel table.
In this you can force any formatting or conversion you may need as well as using alias to obtain more friendly field names.
Then use this query and not the linked table for the further processing.

Copying data from a sharepoint site into Excel using VBA

I am new to VBA and SharePoint. I have been researching a lot of different forums and help sites, but I still can't find what I am looking for.
I am using Excel 2007 I am trying to copy a Summary tab from different excel documents on a sharePoint site. The excel documents are in different folders and I am prompted for read only or Edit before the workbook opens. There are only 25 or so workbooks that I am trying to pull.
I would ideally like to pull the summary information from the different excel workbooks into one master excel sheet with each summary sheet having its own tab in the master excel document. I think I can write the code for that part it getting the information to the master excel document that I am not sure where to start. Any help or advice would be great!
You may want to look at JavaScript and make it to work with all browsers. Look at this library https://github.com/stephen-hardy/xlsx.js and the related site https://github.com/stephen-hardy/xlsx.js

Office 2010 : Custom ribbon

What is the best way to have a bookmark of commands for MS office application (mainly excel, project). For example, I need to group some of the most used reports in MS project or buttons to invoke a macro. Something like custom ribbon (with a tab and action buttons) would do, but the problem is it affect all the files. I want to do per file basis.
Ribbon customization in Excel can be done on a per file basis in 2007 and 2010. The excel file container is a .zip file that contains an XML file that details any ribbon customization.
You can get the basics from this msdn article:
Display and Hide Tabs, Groups, and Controls on the Microsoft Office Ribbon
It's written by Ron de Bruin, his website is http://www.rondebruin.nl/tips.htm which has some additional resources for ribbon customization.
For re purposing existing excel commands the structure is fairly simple and should be readily achievable for your purpose.

Excel 2003 Spreadsheet Object Disappears in Excel 2007

I've inherited an old Excel 2003 application, and need to convert it so that it works in Excel 2007. The application makes use of a spreadsheet as a "popup" inside the application for doing volume calculations. In Excel 2003, this works as expected. In Excel 2007, VBA complains with an "Object Required" error.
Browsing through the Object Browser, Excel 2003 lists "VolSheet" as a Spreadsheet object. Excel 2007 can't find it at all. Excel 2007 does list "VolSheet" as a Shape if you loop through all shapes (ActiveSheet.Shapes), however.
My question is: Is there a way to force Excel 2007 to recognize VolSheet as a spreadsheet? Would I have to Dim it somewhere and find a way to convert the Shape reference to a spreadsheet? Can I trick Excel 2007 into recognizing that it does in fact already exist inside one of the Worksheets?
Seems like you need to update your install of OWC on the 2007 machine
Office Web Components version 11 initially did not support Office 2007, but was updated to add it in SP1. See Link and Link for a security patch.

Resources