LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to use macro to enter password?

Hi,
I run a macro that updates external data via ODBC from a Superbase
database and then performs calculations on the data. The database is
protected through a password that has to be entered in a dialog box
each time a table is to be accessed. Typically, the password is
entered 5 times in one macro and the password is always the same.

In recording a macro, nothing is saved to the macro from the exercise
of entering the password. Is there a way to do it "by hand" in VBA,
i.e. typing code? (Excel 2003)


---
Message posted from http://www.ExcelForum.com/

 
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
Password to enter the sheet Tia[_3_] Excel Worksheet Functions 6 October 13th 08 10:37 PM
Macro to select cells in column enter data then press enter NP New Users to Excel 1 February 20th 08 04:21 PM
How to see macro code of a password protected macro without a password? Dmitry Kopnichev Excel Worksheet Functions 5 October 27th 05 09:57 AM
Macro to go a WEB site and enter a password Bob Benjamin Excel Programming 7 November 14th 03 03:34 PM
one line macro to enter password for workbook N Lenox Excel Programming 5 October 29th 03 08:36 PM


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

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

About Us

"It's about Microsoft Excel"