Save Excel file to SharePoint via VBA - excel

I have an Excel workbook which has a macro that creates a number of additional workbooks of Sales Figures. These files are emailed out to the relevant Sales Person each morning and are currently saved to a location on the customer's server.
The customer now wants us to save the file to their SharePoint Online site. Does anybody know how we can accompish this in VBA? We will need to be able to pass login credentials in the code as the account we use doesn't have access to their SharePoint directly. We can manually copy the file to the location by logging into SharePoint and using the 'Upload' function, but I don't plan on doing that everyday at 05:00!

Related

What service do I need to be able to let my users use Office 365 Cloud Excel

I am working on an accounting system where the system will generate an excel file using a template and then open it using embedded Office 365 Excel. I can do this with my personal account where I would use the OneDrive API to create an excel file and then use the Embedded option in the OneDrive to generate the iframe link and use it on my website. However, the iframe url exposes the auth token though which could be misused by the users.
In future when we have real customers, I would want my users to be able to edit the excel file with their own Office 365/sharepoint account (that we would create for them during onboarding). I believe embedded excel option is not available for business users of Office 365, and I learned that you could do that with sharepoint though for business use cases. What service do I need? Maybe sharepoint but I dont know what else I need and how to make the integration work.

Azure Logic App Get Targeted Worksheet row values

Scenario. I have Sheet1 and Sheet2, I only want to get the Sheet2 data cause I will be converting it to HTML. However I want to do it without signing to Excel's OneDrive or using the excel action.
The reason why I can't login to Excel's OneDrive because of multi-factor authentication/credentials issue.
Is there any way I can get the worksheet values using the file content from get file OneDrive flow and not signing in to excel business flow?
To use OneDrive in Azure logic app, you must first create a connection to it, otherwise you cannot operate it.

Excel js add-in access outlook/create email

The last question I can find is from 2018. I see in the documentation that there is an example of Office.context.mailbox.item. On my personal computer it doesn't exist in excel, but would this work in AD domain computers to send email from excel in a local/on-prem-only office installation?

Automate a report from SharePoint list

I am new to SharePoint online I need a help to create a report on SharePoint list which need to capture new data from a list on daily basis and send to a person.
The report format is in excel/ any other in Office 365
You could export SharePoint list data to csv file by PowerShell with CSOM.
http://www.sharepointdiary.com/2016/03/export-list-items-to-csv-in-sharepoint-online-using-powershell.html
Then, send reminder email to user.
http://www.sharepointdiary.com/2016/11/sharepoint-online-powershell-to-send-email.html
Run PowerShell script as windows task scheduler daily.
https://blog.netwrix.com/2018/07/03/how-to-automate-powershell-scripts-with-task-scheduler/

Multi User Application - Using Excel, Access and Sharepoint

I have to create a multi user application, in which as per the parameters provided by user a report will be published in excel format. I need some help in figuring out that whether an integration of excel, ms access and sharepoint is possible? Something like - I can keep all my data in ms access and put an excel in sharepoint so that all the user can use it. Parameters selected by users will go and fetch data in ms access and then publish data and on the basis of that pivots will also be created.
Kindly let me know if something like this possbile and if it then what all steps i have to follow and what can be the challenges
Thanks

Resources