How to create excel file from existing excel file in SharePoint 2010 - sharepoint-2010

I will have a master excel file stored in one of the SP list. On the button click I have to create new excel file by reading master template and need to modify some cells and store new file in separate SP List.
Any help or guidance will be much appreciated..

Related

I have an excel file as a linked table in access DB, How do I change the linked table path from vb.net application

So I have a VB.NET Window form application that pulls data from an Access DB and the DB has an Excel file as a linked table.
Currently when I run the app the Excel file path is hardcoded in the Access DB.
Is there a way where I can change that path from the VB.net app?
please note I already have set up a dialog box to select an Excel file and already save the path of the selected file.

How do I activate an unsaved workbook using VBA?

The goal of my code is to run an online report, copy the data from an exported excel file and paste it back to the main file, and then manipulate the data.
The trouble I'm running into now is copying the data from the exported excel file. The online report exports the excel file as an unsaved "Book1" with one "Sheet1" with the data in it. I cannot seem to activate the exported file so I can copy the sheet.
I've tried
Workbooks("Book1").Activate
As well as using a for loop to iterate through all open workbooks (there are only 2 open workbooks, but the for loop only loops once - telling me that it isn't looping through the unsaved workbook).
Any help would be greatly appreciated. Happy to clarify any questions as well.
Thanks

Excel and Sharepoint integration

I can't really find a clear answer or solution for my problem.
What I have is the following: An excel file where a user inputs data in a UserForm and that data is then added to a table in this same excel file. Multiple users will get such an excel file so that they can add data on their own.
What I want to do is to aggregate this data in my own Excel file. Or Sharepoint List. I don't really prefer any option as both would work for me.
The user excel file is done and works. All that is left to do is to send the data in the table to a sharepoint list by clicking a button on the excel file.
I am able to import the excel data to sharepoint just fine, but I want the user to be able to "upload" the data to sharepoint by clicking a button. I did find code for that but it appears to be outdated as some functions are not used in Sharepoint anymore.
Does anyone have a solution or an idea how I can create a button in my excel sheet to send the data from several excel files (each with their own button) to a singular sharepoint/excel file (which would be my file).
I have been looking for days and tried powerapps, sql, acces and other approaches but none worked as they should.
Thanks!

How do I Embed file in excel, use it and then embed new version again into excel workbook I'm creating a new Userform control for excel?

I'm creating a custom Usercontrol (Userform) for excel, the name is Virtual forms.
The control is storing data in external file that is created in the same folder where the workbook is (example: VFFile.vf).
How to embed this file into excel (maybe OLEObject? or is there some other solution?)
More info:
I created a Usercotrol (ActiveX control) for excel, which uses an external file with definitions (VFFile.vf). And now to avoid that the developer always has to define the filename where this file on his computer is, I would like to somehow incorporate the file into Excel (when he drops this control onto excel worksheet the control will also put this file into excel workbook). Is there a way to do this?
I continue to use an external file because it gives me the possibilities to use this control in other environments, not only VBA with Excel.
For example, I can use it also in Python, or C# or VB.net.
Thank you guys for your tips and directions.
Davor

Update charts in PowerPoint in VBA

I have a couple charts in a powerpoint presentation that I want to write a macro for to update them automatically. I have a database that will export data as excel spreadsheets and I was wondering if there was a way in either excel vba or powerpoint vba to have the user input the location of the new data file and have that new data copied and pasted so that the chart will update. I am new to VBA so any help would be greatly appreciated.
You can easily do this by editing link to the ppt charts to the new file.
Simply go to the
Excel Option Button>>Prepare>>Edit Links to Files and change source of the charts to the new file.
Let me know if you still want/need to use VBA for this.
Cheers