Running an Excel Macro in Sharepoint? Is it possible? - sharepoint

I have an Excel file with a Macro that connects to an Oracle Database, runs a query and returns the results in a Spreadsheet in the same Excel file.
I'd like to run that Macro from Sharepoint. Is it possible? If so, what's the way to do it?
Thanks!

I'm not sure if Sharepoint Excel services can handle this macro, your option would be to create a sharepoint list with same fields as that of Excel spreadsheet and connect it to your oracle database using BCS (Business Connectivity Services) feature. You can do this task using Sharepoint designer.

Related

Dynamics CRM: write from Excel to CRM

I have the following customer scenario:
User clicks on button in Excel and data from certain Excel-Sheet is transferred to Dynamics CRM.
Someone ever did something like this? Possible with VBA or JavaScript?
Thx!
Out of the box CRM provides the ability to import Excel spreadsheets to create or update existing records.
Or you can always build something custom, manipulating CRM data via the web services.
I have done somewhat similar thing with excel, except i wrote vsto addin that used bit modern approach. You can easily use crm sdk ddl when writing add-ins for excel.
But with VBA i think you might hit quite wall there, you would have to write almost all methods over.
My prefer for here would be write vba script that send excel sheet data to webserver (node.js, .net) and there you can make actual data transfer to crm api. One good example would be writing csv file from data and save it to server, trigger server to manipulate that data.

Update spreadsheet exported from SSRS

I need to update the SSRS exported spreadsheet using Macro connection to the SQL server database. The user runs a SSRS report and exports it to excel and saves it on the desktop. The issue here is, user has to run the SSRS report everytime to check the updated entries. To avoid this, I need to create a macro that matches the job # (on exported spreadsheet) and update the spreadsheet using SQL connection. I've attached the screenshot of the SSRS exported spreadsheet.
In this scenario, I suggest you directly work in EXCEL instead of using SSRS and exporting report. You can use Power View/Power Pivot report to render data directly from SQL database.

2 Way Sync Excel 2013 Spreadsheet and Sharepoint 2013 List

I'm trying to do a 2-way sync with an excel spreadsheet and a list on my sharepoint 2013 online public site. Research has told me that the best approach, without using 3rd party solutions, would be to use Access 2013, and to first sync the excel spreadsheet to the access database (I've done this). Next would be to sync the Access database with a sharepoint list. When I try to do this, it publishes the table as a list, but if any changes are made to the excel spreadsheet, it's not updated on the sharepoint list. Is there a specific way this needs to be done? I wasn't able to find any good documentation on this, especially for 2013 versions.
Thanks for any help!

Error while opening excel pivot table report from sharepoint 2010

I made a pivot table report using excel 2010 that retrieving data from shareportint 2010 list, the report is working fine in excel but when I uploaded it to document library and put it in web part to view from share point it showing me this error :
Unable to refresh data for a data connection in the workbook.
Try again or contact your system administrator. The following connections failed to refresh:
owssvr[1]
what should I do to resolve this error?
Thanks.
You should refer to this artice in MSDN when working with external data connections within an Excel workbook. Before publishing the workbook into SharePoint you must make sure the connection belongs among the set of (administrator-defined) trusted connections.
I got a similar error when trying to refresh data in an Excel Web Part using SharePoint 2010.
Here is the screenshot of my error:
SharePoint Error
My problem was that I was setting the source of the Excel Pivot tables directly to the SharePoint list. In order to get it to work I had to:
Go to the SharePoint list to be used as a data source
Select the "Export to Excel" button to obtain the .iqy file
Save this file then open it in Excel which will open the list in Excel
Any pivot tables created must then use this table as the source, not the connection that is found under the "existing connections" button in Excel

How do I expose Excel 2003 Spreadsheets to PerformancePoint 2007?

I am working on a PerformancePoint 2007 project. I have a bunch of Excel spreadsheets, and I need to get at the data. The users need to continue to enter data, they have Excel 2003, and I won't be here forever. If the users had Excel 2007 I could just use Excel Web Services in MOSS 2007, but that's a no go.
What are your recommendations for getting the data into a usable state?
Some options are:
create an SSIS package to import the data into SQL Server, and teach them how to run the package as time goes on
get the data into SQL Server (SSIS) and then build a web front-end that lets them enter new data
use Access as a proxy for getting the data into SQL Server and use its web access pages to let the users enter new data
Any other ideas? I've heard "Business Data Catalog" thrown about, but I'm not sure how it would help...
Thanks.
Here's what I did:
Create SharePoint lists that duplicate the spreadsheet functionality
Copy and paste the current spreadsheet data into the list
Tell them to throw away the spreadsheet and make their updates to the list (export to Excel if they need a special chart or something
Use Simego Data Synchronisation Studio to import the data into SQL Server on a regular basis
Point PerformancePoint to the database for analysis.

Resources