+ Reply to Thread
Results 1 to 4 of 4

Excel prompts password when updating link sources

  1. #1
    Forum Contributor
    Join Date
    04-11-2014
    Location
    Norway
    MS-Off Ver
    Office 365 version 2302
    Posts
    156

    Excel prompts password when updating link sources

    Hi,

    I have a password protected workbook on a shared disc (Master).

    I have an other workbook on the same disc with a link to a cell in the Master workbook (Slave).

    I have a code that will update the slave workbook every 5 seconds, so that the links to the Master workbook will be updated.

    Please Login or Register  to view this content.
    Problem is, every 5 seconds when the Slave workbook updates the links I get prompted to enter the Master workbook password.

    Are there any bypass for this?


    Thank you.

    Windows 7
    Excel 2013

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Excel prompts password when updating link sources

    Maybe:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Forum Contributor
    Join Date
    04-11-2014
    Location
    Norway
    MS-Off Ver
    Office 365 version 2302
    Posts
    156

    Re: Excel prompts password when updating link sources

    Hi, xladept, thanks for your quick reply.

    I tried the code, but it didn't work. Problem is, that it isn't 'This Workbook' that is password protected.
    In this workbook I have a cell reference to a cell in an other Workbook. That workbook is password protected.

    Then, when updating the reference/link in this workbook, to be allowed to do this, I have to enter the password to the workbook that I'm getting the cell value from.

    Master workbook (Book1) is located at c:\book1.xlsm (Password protected)
    Slave workbook (Book2) is located at c:\book2.xlsm (Not password protected)

    In slave workbook I want to update cell B2 with the value of a cell in the master workbook. That's working fine, with a link to the cell in master workbook.

    Then the problem occurs, to be allowed to pull the information from the master workbook, I have to enter password for the master workbook every time the slave workbook updates the link.

    When I have a macro that updates this every 5 seconds I have to enter the password every time.

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Excel prompts password when updating link sources

    I plagiarized this from the help menu

    Please Login or Register  to view this content.
    Last edited by xladept; 02-04-2016 at 01:50 PM.

+ 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. Replies: 0
    Last Post: 12-19-2012, 05:07 PM
  2. [SOLVED] Excel formulas not updating data from external sources.
    By musik7 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-15-2012, 10:32 AM
  3. VBA Ignore Password Prompts when reading in excel files
    By DaveNUFC in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-16-2011, 12:59 PM
  4. Check box that prompts for password
    By mannosteele in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-07-2010, 01:48 PM
  5. Excel Crashes when updating links to external data sources
    By cooper1308 in forum Excel General
    Replies: 1
    Last Post: 08-26-2009, 01:44 AM
  6. File prompts to unprotect sheet with password
    By Langston in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-25-2009, 11:07 AM
  7. [SOLVED] IE prompts for username and password when saving excel file opened in IE
    By dpbustos@gmail.com in forum Excel General
    Replies: 0
    Last Post: 04-20-2006, 11:45 PM
  8. Updating a master excel workbook from sources
    By dialerguy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-23-2005, 08:22 PM

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