+ Reply to Thread
Results 1 to 2 of 2

Refresh query with a password protected workbook.

  1. #1
    Registered User
    Join Date
    10-19-2010
    Location
    Ross on Wye, England
    MS-Off Ver
    Excel 2003
    Posts
    13

    Refresh query with a password protected workbook.

    Is it possible to provide me with a macro that will query a workbook which is password protected please. I have tried the following:

    Please Login or Register  to view this content.
    But I am still being prompted for a password when the workbook containing the source data opens.

    Any help gratefully received, thank you.

  2. #2
    Forum Contributor
    Join Date
    02-14-2007
    Location
    Chester, England
    MS-Off Ver
    2010 & 2016
    Posts
    312

    Re: Refresh query with a password protected workbook.

    Hello

    Try this line of code.


    Please Login or Register  to view this content.
    Hope this helps

    Cheers

    Jim

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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