Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to record a New Web Query that requires login + password.

The Particulars:
I want to record a macro that accesses personal stock data and places that
data in a worksheet. The problems arise in two places.

First, how to get Excel to pass my userid, generally SS#, and password to
the log on screen. I've manually done this after using Data-Import External
Data-New Web Query, placing the home screen URL in the address logging in,
selecting the table via the yellow arrows and clicking Import and OK.

This gets the second problem which is an Excel error saying "Unable to open"
followed by the URL and the parameters ending with "Cannot download the
information you requested".

I have no problem getting this data using IE and doing it all manually. I
just don't want to Copy-Paste-Save then crank up Excel, Import and edit when
I should be able to run a macro.


The General Question:
How can I get Excel to record and execute a macro using New Web Query that
accesses data requiring a log on and password?

A pointer to a web site, internet article or book would be greatly
appreciated.

All my searches so far have lead to the easy examples of downloading data
from public access sites ( I can get stock data from MoneyCentral and Yahoo
using Web Query).


Thanks for your time, J e r


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default How to record a New Web Query that requires login + password.

J e r,
Can you add your ID and password to the end of the URL as parameters to pass
?

NickHK

"J e r" wrote in message
...
The Particulars:
I want to record a macro that accesses personal stock data and places that
data in a worksheet. The problems arise in two places.

First, how to get Excel to pass my userid, generally SS#, and password to
the log on screen. I've manually done this after using Data-Import

External
Data-New Web Query, placing the home screen URL in the address logging in,
selecting the table via the yellow arrows and clicking Import and OK.

This gets the second problem which is an Excel error saying "Unable to

open"
followed by the URL and the parameters ending with "Cannot download the
information you requested".

I have no problem getting this data using IE and doing it all manually. I
just don't want to Copy-Paste-Save then crank up Excel, Import and edit

when
I should be able to run a macro.


The General Question:
How can I get Excel to record and execute a macro using New Web Query that
accesses data requiring a log on and password?

A pointer to a web site, internet article or book would be greatly
appreciated.

All my searches so far have lead to the easy examples of downloading data
from public access sites ( I can get stock data from MoneyCentral and

Yahoo
using Web Query).


Thanks for your time, J e r




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to record a New Web Query that requires login + password.

Nick,

If my ID and password are in the returned URL immediatelt after the log on,
its not obvious. I've tried that URL by copying it to address in Excel and
it doesn't work. Can that info be returned to the server without ever being
displayed ?

I'm going to try a phony ID and password and compare that URL against the
one I thought was good to see if he's encoding them.

Thanks for jogging my mind, J e r


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Showcase Query Login Nigel Excel Discussion (Misc queries) 0 March 28th 07 10:00 PM
Excel 2000 required username and password login for database query ISTech Setting up and Configuration of Excel 0 September 7th 05 01:11 AM
How to make a Password login screen in excel TMO[_3_] Excel Programming 3 December 14th 03 08:28 AM
Synchronize network login/password Rick[_19_] Excel Programming 1 November 18th 03 11:42 AM
Windows Login Password john.petty Excel Programming 1 September 15th 03 11:22 PM


All times are GMT +1. The time now is 09:07 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"