We help IT Professionals succeed at work.
Get Started

Embedd Password in Excel

Mark Harris
Mark Harris asked
on
216 Views
Last Modified: 2012-05-12
Hello,
I have an excel workbook with 7 sheets in it.  The data in all the sheets is extracted from an ODBC connection with a DB user and password.

Each time the workbook is opened, the last set of data extracted is shown, obviously.  If I need to refresh the data, I am required to put in the DB user and password for each page.

All the data is coming from the same DB so the password is the same for all 7 sheets.

I would like to know if there is a way to embed the user and pass into the workbook so that each time I refresh the data, the user and password are passed through without any need to type it in.

I was actually thinking that it would be nice to have the user and password, passed through to the DB when opening the sheets so that there is never a need to refresh the data after opening.

Is this possible?

Thanks
Mark the fireman
Comment
Watch Question
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE