+ Reply to Thread
Results 1 to 3 of 3

Passport Security

  1. #1
    Registered User
    Join Date
    02-21-2014
    Location
    Trinidad
    MS-Off Ver
    Excel 2003
    Posts
    13

    Passport Security

    An excel worksheet was populated based on a Microsoft Excel query.
    However, is there a way that the database password can be saved without allowing the user refreshing the query being able to see what the database password is.

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Passport Security

    Find out where in the connection string the password is. For an ODBC database, it's in position 3 (starting the count as zero).

    Put this in a open workbook module and then password protect the VBA Module - it's the best you can do.
    Please Login or Register  to view this content.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Passport Security

    P.S. Turn off the background query option.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Display Employees List whose Passport going to Expire in given period
    By koolguys4u in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-05-2015, 03:05 PM
  2. [SOLVED] security issues or providing security for macro enabled files
    By thara.p24 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-12-2014, 05:12 AM
  3. Replies: 2
    Last Post: 03-03-2013, 12:46 PM
  4. Replies: 1
    Last Post: 03-02-2013, 01:48 PM
  5. Replies: 1
    Last Post: 01-24-2013, 08:03 AM
  6. VBA Security
    By sunilmulay in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-15-2009, 09:51 PM
  7. VBA Security
    By Naga in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-22-2005, 06:05 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1