PC Review


Reply
Thread Tools Rate Thread

Q:Excel/ODBC/Login ....

 
 
Verner Jensen, Ålborg
Guest
Posts: n/a
 
      5th May 2005
Hi' there !

My situation is this; My customer have a hole bunch of different Excel
workbooks - with VB code inside. In this VB code the user/pwd to the ODBC
connection is hardcoded. This hardcoding is not approved by audit.

Is there any smart way (opposed the insert a login-dialogbox in each of
those workbooks) - to solve this problem?

What I thought of, is to make a button on my menubar to etablish the ODBC
connection and regardless of wich workbook I open - hold this connection
open. But somethins tells me, that the code should beplaced in a workbook -
and not directly in Excel....

PS. Is it possible to grap to windows login and pwd - and use with the ODBC
connection?

Thanx in advance...

Rgds, Henrik


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Data link properties / ODBC Excel driver login failed =?Utf-8?B?SmFycm9k?= Microsoft Excel Misc 3 14th Dec 2007 11:10 PM
ODBC Excel Driver Login Failed dsimms Windows XP 0 29th Dec 2005 06:16 PM
Q:Excel/ODBC/Login .... Verner Jensen, Ålborg Microsoft Excel Programming 2 24th Jul 2005 07:37 PM
Q:Excel/ODBC/Login .... Verner Jensen, Ålborg Microsoft Excel Misc 2 24th Jul 2005 07:37 PM
Re: Excel ODBC driver login failed Arvi Laanemets Microsoft Excel Misc 0 25th Aug 2003 03:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:54 AM.