I have an excel file uploaded to Sharepoint Online document library.
The excel file has a VBA script to refresh (linked to Microsoft Query, pulling ERP data)
I need to automate the VBA refresh to occur on a daily basis at a set time of day
What's the best way to do this (task scheduler w/ Python, a pre-existing SPO tool, something else, etc)? I'm a noob so if you can provide somewhat detailed instructions or point me to some that would be greatly appreciated!
I doubt it matters but the reason is b/c the file is published as a data source to Tableau and an answer will prevent someone from having to manually update the file every day
Thanks in advance
Haven't tried a lot. Search engine results didn't provide an answer I could follow
Related
I make regular excel spreadsheets/dashboards of KPIs and some other data for consultants at my company. My current process is to run a script in SQL changing ‘Where ConsultantID = 123’ etc manually, then pasting into excel template and running a macro.
Is it possible and what are the separate functions I need to learn to automate this completely?
Export the data from SQL (about 80,000 rows and 40 columns)
Paste into Excel
Run the Macro
Doing these three tasks for a list of consultants – so getting each of these functions to go down a list and making the dashboards individually. This can’t be done in PowerBI because the consultants don’t have access to it and my company won’t pay for it. So the excel data is static and the dashboards are made regularly to compensate.
Anybody who can provide a steer and point me towards what I need to learn to get this done will be a great help.
Thanks in advance
Currently working at doing this manually.
community
I need to extract select data from a pdf form into excel. Eventually, the data gathered will be used in another step (excel table) as part of an additional calculation.
I am hoping to find a way to automate this process so I tried importing the pdf file to excel using Power Query. Unfortunately, each time I loaded the pdf, I get a message (Page is blank).
After doing some initial search, I found out that this may be due to the fact the way the pdf file was built originally (not as a table converted to a pdf).
I went back and converted the pdf file into a spreadsheet and now I can actually see the data that I need to extract in excel but needs a lot of cell formatting and rearranging.
I would really like to know if there is an alternative to solving this problem. More importantly, I'd very much appreciate any bright ideas or recommendations on how to best tackle this task since I have to repeat the same process 30+ times.
Also, I don't have a lot of coding experience, knowledge- very minimal.
Thank you so much
I am trying to extract data from excel to google spreadsheet. I want to do it automatically. Is there an automated way available? There is an add-on called Sheetgo but it is paid is there any free one? I want this extraction to happen daily at a scheduled time. Is there a way?
You may find some good solutions here:
How to automatically import data from uploaded CSV or XLS file into Google Sheets
One of the answerers to this thread even claims to have created a “utility for automated import of xlsx files into google spreadsheet” called xls2sheets that you might find interesting.
I can’t seem to find a solution for my problem no matter how much I Google.
(Please excuse my verbosity in the following explanation)
My process is that I have to go to the SSRS web page, run my report (with parameters), and finally export as an excel file. Once all that is done I can execute my couple thousand lines of VBA code to import the raw data I just downloaded and apply my business logic. Now I’m able to make My pretty charts and graphs. For lots of reasons I won’t enumerate here, I need to further automate this.
What I would like to do is change my code so it will just pull the data directly into my Excel spreadsheet without having to have first saved it as a file.
The Googling I have done so far suggests I would be pulling it into a dataset, then work with that dataset object to consume my data.
Does anyone have VBA code that demonstrates how to connect to the SSRS server, call my specific report (with parameters) and, and return the results as ( I’m guessing as a dataset),and read that into my spreadsheet?
Excel is providing facility to connect to the database and run query. You can execute the SP's query from excel
Once you got the data, you can apply your chart logic in excel.
Please refer the link. Hope it will help you.
Hi I recently have been taking a deeper dive into excel and I was thinking about how to automate a task that I have to do every month. Every month I update financial projections by manually entering in monthly expenses into a spreadsheet for each account.
I would like to find a way to pull data that I normally manually enter from SAP Netweaver and our inhouse website that lists salary charges to an excel spreadsheet.
What do I need to learn to automate this repetitive task? I am not an expert in CS by any means so if anyone has any suggestions on ways to solve this problem, topics to learn that would be helpful and/or online resources that would help me learn how to automate this data entry it would be greatly appreciated.
TL;DR I want to upload data from SAP to an excel file where financial projections are kept so I don't have to manually enter the data in every month.
If you want to write some vba code to login into SAP and select necessary data, you need to develop custom function module on ABAP that will select it.
So it's much easier to write custom report with export to Excel. ABAP isn't very difficult to learn.
Take a look at some of the query tools available within Netweaver. Transaction SQVI can be used to build a simple query involving one or more tables, from which the results (in ALV) can be exported to excel. Transaction SQ01, SQ02 and SQ03 can be used for the same, but are a bit more involved.