continually importing data from many excel spreadsheets into one - excel

So I have never used Excel macros before, and am not experienced in this, but have a (very) rough idea of how things work. I have tried looking up solutions but too inexperienced to convert them to my situation.
I have to import data from many excel files into one main database, and have this going at the click of a button, as there are new files being generated daily.
I can set up the data files to have the values in a consistent format on the first sheet of the file, as a start. From there I am not sure of the coding I need to use to get the data imported to the database file and append it to the bottom of a list.
Any help would be greatly appreciated.

By "one main database" are you referring to an actual database (e.g. SQL Server) or an Excel file. If an excel file, I'd use PowerQuery for this. It's built into Excel 2016, available as a free add-in for Excel 2010/2013, and designed so that non-coders can do incredible data cleaning and prep work from a fairly easy-to-use UI built right into Excel. Plenty of tutorials on the web and youtube, as well as great books such as M is for Data Monkeys by Ken Puls.

Related

Reading data from OneNote table to Excel using VBA

I am trying to construct an Excel sheet that is able to automatically read and summarize key work information from several OneNote files using VBA.
Currently I am trying to check for a string ('Complete') from a table within a OneNote page with a project number title. If the VBA program detects this string, it will input the same string into a table of all project numbers within the Excel sheet. The program is meant to be as autonomous as possible, so the less user interaction the better.
I have searched for any indication this is even possible, but have found nothing. It seems it is possible to log data from Excel into OneNote, but I have never seen any indication that the opposite is true.
Any help or insight to if this is even possible would be greatly appreciated!

How to import the same txt file (That updated daily) to Excel

I have a txt file that automatically do updates in a daily bases, I have to open that txt file in Excel (Delimited) and review the data.
What is the way to make Excel automatically import that specific txt file?
Or in another words: I need to Double click on a saved Excel file and it will automatically import that specific txt file (instead of doing File->open->Browse...)
Thanks!
This should work
http://www.jkp-ads.com/Articles/importtext.asp?AllComments=True
In case you are getting your data from sql or any other data source , you can update the data connections in EXCEL
Just Open the excel file and hit refresh
What version of Excel do you have? If you have Excel 2016 or later, you can use the new functionality under the 'Get and Transform' tab to do this really easily. In previous versions, you can download the free Microsoft "PowerQuery" addin that was the forerunner for this. It was previously a separate add-in called PowerQuery, and is now bulk standard in Excel.
There's many excellent walkthroughs on the internet showing this exact type of activity. Google "PowerQuery" and put a date filter on your results to show just the last year, as the functionality is constantly being updated. Add "Ken Puls" to your search term, and see what bubbles to the top. Then replace Ken "Mike Girvin" or "ExcelIsFun" and you should see like a zillion excellent tutorials on PowerQuery. Try "ExcelCampus" too, as Jon has great tutorials, as does "Chandoo". Also replace PowerQuery with "Get and Transform" and repeat those same searches.
PowerQuery is simple to learn, and lets you do stuff just by "muddling through" that would otherwise take a year or more to learn if you wanted to pick up VBA.
It acts like a user-friendly macro recorder, only unlike the macro recorder it spits out reusable code that doesn't have hard coded references in it, meaning all you need to do his hit Refresh.

Is there a way to auto-update Excel workbook without opening it?

I'm trying to learn better excel skills by working on a hobby project. Currently, my Excel workbook grabs data from an online database and archives it via command button. When I need to, I can look at a summary sheet which analyzes the data and presents it nicely.
The problem is that I need this data to be continuous and if I'm not around to click the command button it will have gaps in the data. The more accurate the better. So, I'm looking for a way that the workbook can be opened, updated and closed without me around. Better yet, if this is possible with something like OneDrive so I don't need my pc on all day - that would be the best solution.
Can anyone suggest a way for this auto-update process to work and/or inform me if OneDrive is capable of doing it also?

Any way te read an excel file from a Google Sheet?

in my organization we work with Google Apps but we have one file that we need to maintain in Excel due to its complexity. All my other spreadsheets are Google Sheets and a lot of them need to get data from that excel file. So my question is: is there a way either trough google scripts or excel publishing to get data from an excel file in Google Drive to a Google Sheet?
I know all about the other direction, Google to Excel, but Excel to Google is proven more complicated. Any help would be much appreciated.
im giving you an algorithmic-level answer without code because you also have none.
with apps script you can import the xls to drive as a new spreadsheet at regular intervals. then, copy its contents to a fixed spreadsheet (replacing previous content).
other spreadsheets can read from that fixed sprradaheet with scripts/importrange etc.

Importing from Excel / Excel Linked Server shows no data

This is a common problem I've had for years and I'm sure many others have experienced. Every time I search, I don't seem to get exactly what I'm needing, so I figure I'd just ask to see if anyone has an answer or at least point me to the place with the right answer.
The scenario is commonly I'll have an excel workbook that has not been opened yet, typically an export from a BusinessObjects datamart, but not limited to just that source. Anyway, any time I've tried to import the workbook into Access, create a linked server in SQL server, or even use the workbook as an Excel Source in SSIS, the worksheet comes through with no data even though it has data. However, if I were to open the file manually in Excel, save it and close, all of the above show the data as expected. This is a very frustrating problem that I have yet to find a more automated solution to other than having some clunky script open the workbook in an excel instance, save it, then close it again.
Any help is appreciated. Thanks.

Resources