Accessing an Database password required

Ziggy12

Active Member
Joined
Jun 26, 2002
Messages
365
Hi there
I am using MS Query to return data from a central data base. The database is accessed via a url and a password.

I want users to refresh data either clicking a button on an maybe at predetermined times when the central DB itself is refreshed.

Access to the central DB requires a password. The password dialog box pops up when a refresh is requested. The central DB isn't on a trusted site although it is = probably doesn't have whatever to make it a trusted site.

How do I respond to the password request in VBA. Shell something???

The users aren't password types and the refresh and subsuquent update is intended to happen in the background anyway.

ziggy
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,224,568
Messages
6,179,572
Members
452,927
Latest member
whitfieldcraig

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top