Fetching specific data from consumerfinance.gov into excel using VBA programming - socrata

I want to fetch data from consumerfinance.gov and import it into an Excel spreadsheet. Any ideas on how to accomplish this?

Why don't you try out our OData API, which would allow you to consume those datasets directly within Excel without needing to write any VBA at all?
Edited: All right, since it sounds like OData isn't an option, how about a Web Query? You can us the CSV export (Export -> Download -> CSV) or the CSV format from SODA and I think that'd still work in 2007.

Related

Create SSRS Subscription to XLTX (Excel Template)

I am trying to get the subscription for SSRS to send the CSV data to an existing Excel template so that the data is formatted to our excel reports and all the conditional formatting in them every morning but it's just creating a new file. How do I send the data to a specific template file?
While SSRS doesn't have built-in functionality for exporting directly to an Excel template, I have a suggestion for a workaround. Use SSRS to export the data in CSV or Excel format. Then, in the Excel template file, go to the Data menu and select Get Data > From File. This lets you use Excel's built-in Power Query functionality to reference the exported file as a data source.
One of the benefits of this approach is that to get fresh data all you need to do is overwrite the data file and then click "Refresh All" in your Excel file. You can also take advantage of the transformation functions that are available in Power Query to avoid repetitive cleanup tasks if needed.

How to import data from external webpage connection in MS Access like excel has Data- WebPage

Like excel has Data=>From Web to import a table in webpage in excel. How can I achieve this in MS Access? I want to data in table in external web page into the MS Access Table. Just Like we can in excel.
I don't want to use any intermediate excel to import data in Access but direct
external html page data into Access.
I want to import the option chain from NSE India into MS Access.
The external webdata is Option chain from NSE india like in URL:
https://nseindia.com/live_market/dynaContent/live_watch/option_chain/optionKeys.jsp?symbolCode=-10003&symbol=NIFTY&symbol=NIFTY&instrument=OPTIDX&date=-&segmentLink=17&segmentLink=17
This was done in Excel but I want to do it in MS Access.
There is no easy way to do this; Access can get the table from the downloaded file, but it will be confused by the double-line headers. It can ignore one line but not two, thus the headers' second line will be read as data scrambling the real data.
Excel just does a better job isolating the table with its headers and values. Your best option, in my opinion, will be to automate Excel, using it to retrieve the page and build the table. Then, from Access, link the prepared worksheet holding the table.
Alternatively, use the function DownloadFile found in my project at GitHub: VBA.PictureUrl, link the file, and create a query (using the linked file as source) where you clean up and convert the retrieved data as needed.

Mind Mapping tool exporting data to Rally

I am trying to export data from a Mind mapping tool such that it can be imported into Rally. Trying to create a mindmap of backlog which can be easily exported to a format compatible to rally ("csv"). I tried using different tools that export data to "csv" format which is Rally-compatible, however ran into some issues and hence decided to get the data into xml format and further convert just the required fields from the xml data to csv which can then be imported to rally.
What I have now is a process that can convert data to xml, I then further use a tool to get it to csv but the hierarchical structure of mindmapping is not maintained when I convert it to csv. So basically, now when I import "csv" data to rally, it doesn't keep parent relationships ( as seen in Mindmapper tool ) in backlogs.
Can anyone help me with this? Thanks!
Have you tried Rally Excel plugin that allows import to Rally from an Excel spreadsheet?
It does not have a direct support for importing parent/child relationship between stories, but if a story designated to be a parent already exists in Rally or imported first, then you may import another batch of stories with Parent field specified, and that will link the newly imported story or stories to the parent. See this video.

How to covert mysql to excel file using php?

I am just wondering what's the most efficient way to export mysql data to excel file using PHP. I have been searching on web but not sure what the best way is. Any thoughts? Thanks for help.
You could try this PHPExcel - OpenXML Api: http://www.phpexcel.net
I never tested that, but the feature list says that it can export data to
Excel 2007 (spreadsheetML)
BIFF8 (Excel 97 and higher)
PHPExcel Serialized Spreadsheet
CSV (Comma Separated Values)
HTML
PDF
Good luck!

SSIS Excel Destination with format

I try to export excel file with some format like:
Interior.Color
HorizontalAlignment
Font.Bold
and etc..
So the question is, can we do like that is SSIS..
and how to do it?
Not natively no.
If you always have the same output format you could create a formatted template spreadsheet, then make a copy of that to fill with data. I have seen this done before, the formulas and formatting were in the template, the SSIS job copied the template, then populated the copy.
SSIS is primarily a tool for moving data. Although it may be possible to write a script task or a custom component to do what you want, a better way would be to use a tool that is designed for presentation of data (a reporting tool, for example: SSRS) to do what you are trying to do.