LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Pivot Table Connection String - How to hide it?

I understand your method and actually its a very logical way of handling it.
But unfortunately - it won't do for our environment :)

I am getting convinced that this is a rare request, judging from the answers
I have found (or not found) on the internet...

--
Eddie


"GSnyder" wrote:

Fiji,

A sneaky way I've used to get around this in the past is to bring up a form
using VBA with a User ID and Password box (formatted as password, so it shows
up as ***** when they type into it). I then added a GO button that updates
all of the pivots, getexternaldata or whatever. Inside that VBA code, then I
programatically set the connection strings and set the UID= Forms1!UserID and
the PWD= Forms1!Password.

So, I've not stored the password in any files and the only way to get to the
password is if the user has access to that machine when it is running the
code (which means they must already have the logon and password). It makes
it easier for the user because they only need to type everything in once
rather than for each different data source.

If you're interested in more info about that loophole, I can post some
further code snippets for you.

Happy calculating!

--
If you like this answer, please click ''''Yes.''''


"fijieddie" wrote:

Thanks for the reply. We do not want the user to enter user and password for
reports as it would become less user friendly. There are numerous
applications and a lot more reports. As for the user id and password,
previously we had Microsoft Office 97 as the default and then it was Office
2003. It was harder to get to the connection properties. In Excel 2007 (which
we are moving slowly towards), there is a simple button there that allows you
to view the connection string. Also, due to management wanting to tighten
security, we are reveiwing all these "loopholes".

I guess hiding the connection settings is not normally done?

--
Eddie




 
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
Relative path in database query connection string DanL Excel Discussion (Misc queries) 1 February 20th 09 06:09 PM
I want to hide data that's less than 1 in a pivot table SDixon578 Excel Discussion (Misc queries) 0 April 23rd 08 01:09 PM
Hide Pivot Table Filters [email protected] Excel Discussion (Misc queries) 1 March 27th 08 12:15 AM
How do I use a connection string? BrandenK Excel Discussion (Misc queries) 0 September 25th 07 07:10 PM
Copy pivot table and get rid of connection araki Excel Discussion (Misc queries) 3 March 8th 06 12:59 AM


All times are GMT +1. The time now is 11:03 PM.

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"