User to import XLSM files into Oracle APEX - excel

Is there a way where the user can import XLSM (macro) files?
I'm building an application and the user would have to import their files which are Excel with macros. For this application I would only need certain data from these files, like columns with payment amounts and due dates.

There are a number of options for loading Excel formatted files into the database.
Jeff Kemp has a great summary of options.
https://jeffkemponoracle.com/2018/11/load-spreadsheet-data-into-apex/
Historically I like using Anton's plugin, since it took a spreadsheet of any format, and gave me an Oracle table full of all the worksheet rows & columns.
There are more native options now.
You won't get any macro content, but you shouldn't need it.

Related

continually importing data from many excel spreadsheets into one

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.

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.

Exporting contents of emails to Excel/Google Sheets

I have quite a few emails that come in on a regular basis with the same email subject (around 10-20 a day) that all follow a set format, and then are manually being entered onto a Google Sheet for Sales staff to access.
Ideally, if I could cut this out of my morning routine it would make my life a lot simpler.
What would be the best way to search Outlook by subject line, and then export the relevant data to an Excel worksheet, so that all I would have to do is import that .xls file onto the shared sheet?
You may consider developing a VBA macro or add-in if you need to install the solution on multiple PCs. See Getting Started with VBA in Outlook 2010 for more information.

Import data from published Google spreadsheet to Excel

I am trying to import data into an Excel spreadsheet from a published Google sheet. I have published the Google sheet and copied the URL.
When I try and use that URL in my Excel spreadsheet, either with VB code or by standard Data Get External data From Web it asks me to log-in to Google. How can I get the data without having to log-in.
You can select in Google Sheets to publish as a CSV file
Then in excel use Data -> import FROM TEXT (not from web)
Paste in the link to the google sheets csv file
This should read and recognise the file, you will need to configure headers, and the Comma as the separator, format etc
Then finally one it has been imported if you go to Data -> connections you can change refresh times etc
If you are willing to use an add-in, you can have Excel and Google Sheets stay in synch.
Data Everywhere makes add-ins for Google Sheets and Excel that allows you to sync data between Google Sheets and Excel. You just highlight the data you want to synchronize, and both your Excel spreadsheets and your Google Sheets spreadsheets will always be in sync.
You can get it at Data Everywhere, or from the Google Sheets Add-in store at https://chrome.google.com/webstore/detail/data-everywhere/foenaaepondggfpfonagpmdaggmpdeel?hl=en-US
Unfortunately, this add-on no longer works.

collate 500 excel sheets into database

i have 500 excel sheets which are used for data collection from various organisations
i need to collate all the data into a variety of summary excel sheets
at the moment this is all done manually, cut and paste and then create big forumlas to calculate across several sheets to tally it up
i am looking to automate this somehow, I would like to run a set of tests on the excel files to make sure the data is correct, and them import it all into a database, and then spit summary sheets back out in excel format.
is there something out there that does this sort of thing already, based on a set of rules ?
I've built a number of excel projects where I needed to import data from an uploaded spreadsheet. I used this library and built what i needed out of it:
http://excelpackage.codeplex.com
Example to read data:
http://excelpackage.codeplex.com/Wiki/View.aspx?title=Reading%20data%20from%20an%20Excel%20spreadsheet
It's a .net solution though...

Resources