Macro / VBA Data Connection

Hoube78

New Member
Joined
Mar 27, 2014
Messages
43
Hi,

I have been looking for a solution to refresh multiple data connections within my workbook but only enter the password once.

I don't want to store in the workbook as its not encrypted and windows authentication is not an option.

The password and username is the same for all the connections however entering this in 20 times is painful and not user friendly.

The connection string is the same but the SQL query is not which populates multiple tables in the backend of the workbook.

I just simply want the pop up box to show once the user enters the username and password once which is used to refresh all the data connections.

Any help or suggestions please....

Thank you in advance
John
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,216,115
Messages
6,128,915
Members
449,478
Latest member
Davenil

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