Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


How can I export data with excel 2010

Posted on 2011-03-14
Medium Priority
Last Modified: 2012-05-11
Hi i need to export some data but I need a username and a password to log in. Can I export my data with a other vehicule than excel and after go get it with excel or does it exist a way to do it with excel? Thank You
Question by:sharkyboy
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
LVL 50
ID: 35133669

do you want to export data from Excel to somewhere else? Or do you want to export data from <somewhere> to Excel?

Please provide a few more details about the scenario. What system requires a password?

cheers, teylyn

Author Comment

ID: 35133687
I need some data from a web site ...www.ivolatility.com, it's free but I need to login before, I read before than excel cannot export data with a login but I was asking if I can export these data with a other program then go get it with excel after ? Thank you
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.


Expert Comment

ID: 35133702
You could export it to a text file and then import it into excel, I believe in that address I posted above there is a little guide for this.  
LVL 50
ID: 35133705

when you click the Data ribbon and then the button "From Web", you can connect to the web site, log in and export data into Excel. It is probably possible to automate these steps with a macro that will enter your credentials when establishing the connection.

cheers, teylyn

Author Comment

ID: 35133712
yeah but what I have to write on this macro...this is what I need
LVL 50
ID: 35133754
That will very much depend on how the web site is structured and how the data can be accessed.

See this article from Tech Republic  http://www.techrepublic.com/article/pull-data-into-microsoft-excel-with-web-queries/6115870

Also, read the comment in that article: http://www.techrepublic.com/forum/discussions/5-200975-2649824?tag=discussion-asset-thread

cheers, teylyn

Author Comment

ID: 35133906
Can I write a vba code macro for a web query which will allow me to access these websites
LVL 50

Accepted Solution

Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 500 total points
ID: 35133982
The normal approach is to create the query manually (as outlined in the article linked to above) and then use VBA to refresh and parametrise the query.

Building the query from scratch requires knowledge of the exact structure of the web site you want to query. Unless you have that background information, you don't have a starting point.

Here is code to create a web query with VBA from scratch for a Yahoo site. http://www.java2s.com/Code/VBA-Excel-Access-Word/Access/BuildingaNewWebQuerywithVBA.htm


Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a serious pitfall that can happen when deleting shapes using VBA.
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

596 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question