Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default external data with a password (take 2)


This is my second time submitting this question. I did not receie any
responses the first time.

I want to get external data with and pass a password but the password
can not be displayed at any time.

I have set it up so the user ID and various paramaters are sucessfully
passed in my external call by establishing the cell reference while
building the call.

However, when I have a variable on a form so I can protect the
password, I don't know how to reference the varable in the external
call.

Thanks in advance.

MPH


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 599
Default external data with a password (take 2)

MPH

I don't understand the question. Where are you collecting the password? On
a userform? Won't it be displayed there? Is that what you are trying to
avoid?

Generally, the password is in the connection string of the external data
table (QueryTable object). When you add the QueryTable and supply the
connection string, put your variable in the string. I believe it goes after
the DBQ entry, but record a macro while you do it manually and see where the
PWD entry is.

Post back if that's way off the mark.

--
Dick Kusleika
MVP - Excel
www.dicks-clicks.com
Post all replies to the newsgroup.

"Moose27713" wrote in message
...

This is my second time submitting this question. I did not receie any
responses the first time.

I want to get external data with and pass a password but the password
can not be displayed at any time.

I have set it up so the user ID and various paramaters are sucessfully
passed in my external call by establishing the cell reference while
building the call.

However, when I have a variable on a form so I can protect the
password, I don't know how to reference the varable in the external
call.

Thanks in advance.

MPH


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/



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
External Data Warning Message - I have No External Data in wrkbk Cass_makeitfun[_2_] Excel Discussion (Misc queries) 0 May 12th 10 09:02 PM
Getting External Data based on criteria insde of the external data BigMacExcel Excel Discussion (Misc queries) 0 August 31st 09 06:41 PM
Linking to External "Password Protected" Worksheet dave1030 Excel Discussion (Misc queries) 0 January 2nd 08 02:45 PM
External Data Queries - Data Range Properties v Spreadsheet Format HLS Excel Discussion (Misc queries) 0 April 5th 06 11:09 AM
Get external data with password Moose27713 Excel Programming 0 November 3rd 03 07:41 PM


All times are GMT +1. The time now is 04:26 PM.

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"