How can I export data with excel 2010

Posted on 2011-03-14
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, 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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.


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

Also, read the comment in that article:

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 125 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.


Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

688 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