+ Reply to Thread
Results 1 to 7 of 7

Links to Restricted Workbooks

  1. #1
    Registered User
    Join Date
    05-22-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    6

    Links to Restricted Workbooks

    Hello,

    I have read that this shouldn't be able to work, but with excel there tends to always be some sort of workaround or way, so please looking for any help. Also, keep in mind I have limited knowledge of Macros so if you offer that up, please try and give me the kid like explanation. I have a file that shows a summary of data and it is linked to a workbook with all the source data. The source data file is restricted because it contains much more private information, but I would like for some people to be able to see the linked cells in the summary file. Anyone with access to the source data, can open up the summary file (even in read-only status) and see the updated cells. However, anyone who does not have access to the source file, is not able to see the updated links/data. One workaround is if I open the summary file - enable content the content myself, close it and then the others can now see the updated data....but only if I do that every time.

    Does anyone know of a way to have these links automatically update when a person who does not have access to the restricted file opens it on their own?

    Thanks!!
    Raquel

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

    Re: Links to Restricted Workbooks

    I am assuming that the file that has the data you want is in a directory to which your users don't have access and you want some of them to "cherry pick" specific pieces of data from this file.

    The trick is to get them to use your credentials to get to the file.

    How often is the source file updated? Is it updated on a schedule? Do you have control over the source file?

    I can think of ways of using hidden access lists and passwords and MS-Query to get the data, but the list can be hacked by someone with enough skill. The query can be set up to run every x minutes.

    I can also think of a way where they click a button and it sends an email to a mailbox, the mailbox checks that the sender is on the authorized list and mail backs the report with the current value of the links. The issue with this is it isn't "real time."

    Maybe the best alternative is to set up yet another folder: one that has less restrictive access and to have the Windows task scheduler or an event in the source program itself, write the extracted data there and those people with special access can see it.
    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
    Registered User
    Join Date
    05-22-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Links to Restricted Workbooks

    Thanks for replying.

    Yes the source file is in a restricted directory and I do want them to see basically only certain pieces of information.

    The source file is updated all the time by more than one person (approx 5 people). We all have equal credentials to access and modify the file. Those people viewing the summary file would not be very advanced in excel, so I
    doubt hacking, but I know that is always a possibility. The MS-Query sounds the most appealing and I would discuss it with the other members to see if they were on board.

    A workaround right now is one of us each morning enabling the content in the summary file - it's not that labour intensive, but obviously something automated would be preferred.

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

    Re: Links to Restricted Workbooks

    Do the users who have limited access get a different version of the file from those who have no access at all?

    You say that you enable the content on the summary file. Is this your copy? If so, how do the limited access people get hold of it? How do they use the information: do they merely read it or do they modify it? Does any information on what they fill out have to make it back to the source spreadsheet?

    I can propose something else. I have a piece of "standard" code that mails an attachment to a mail recipient. With small modification it can mail to a list. So you can have the Windows Task Scheduler run the program in the background for you - it will mail a copy of the report, updated with your credentials to the list of recipients. I can save a copy of the file and break the links so they have the current value for the link at the time of mailing - or if they are merely reading it, we can save it as a PDF, we could mail it out several times a day!

    I can give you step-by-step instructions on how to set up the Task Scheduler - I have a tool to help and it's not that difficult to do.

    The MS-Query method would take a small bit of code on the source file to put the data in a format MS-Query can understand. I doubt you have it already in neat columns. This can be tied to a workbook event that updates the file every time the source workbook is save. Should take a fraction of a second to run. I'll also give you step-by-step instructions on setting up MS-Query.

  5. #5
    Registered User
    Join Date
    05-22-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Links to Restricted Workbooks

    Hi

    Sorry for the delay.

    Let me try and clarify. Only managers have access to the source file. Anyone with no restrictions has access to the secondary summary file. We update the source file and we want the links in the secondary summary file to update when anyone opens up the summary file. As of now, it only updates for those with access to the source file, but the intention of the secondary summary file is for people without access to the source. We just want them to see a summary of the data from there based on the links we have inputted. They would all be using this secondary summary file with "read-only" access.

    I really appreciate both of your offers. I welcome both codes/instructions and will try to work it out. As for the MS-Query method - not sure what you mean by neat columns...if you wonder whether or not I have text/values in individual cells and not running across columns. I do. It's quite clean, I just can't figure out this security workaround.

    Thank you for responding and your options.
    Raquel

  6. #6
    Registered User
    Join Date
    05-22-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Links to Restricted Workbooks

    Anyone able to help with this issue? Looking for a workaround still....

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

    Re: Links to Restricted Workbooks

    This is the way I would set up the system, so tell me if this would work operationally for you.

    The managers have access the the file in the restricted directory. They will also need access to the same non-restricted directory as the people who only need the summary.

    When a manager updates the report and exits Excel, a close workbook event extracts the summary information to another workbook and copies that workbook to the non-restricted directory. Depending on how complicated the extraction process is, this may take several seconds or longer for the file to close.

    So the summary file will be kept updated at all times.

    This is about as far as I can take it without a sample manager file and a sample summary file. Fill in the files with a dozen or so dummy records and attach here.

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

+ 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. extracting to excel entire web page not just restricted to tables and links
    By catchnanan in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-26-2017, 12:49 AM
  2. links between workbooks
    By bugdout in forum Excel General
    Replies: 6
    Last Post: 06-18-2016, 02:00 PM
  3. Update workbooks links witout opening the workbooks
    By no1freeman in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-11-2015, 03:54 PM
  4. Links to other workbooks
    By aresquare1 in forum Excel General
    Replies: 3
    Last Post: 04-15-2013, 04:36 PM
  5. Links between workbooks
    By mmf in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-09-2008, 02:28 AM
  6. Links to other workbooks??
    By mattcross55 in forum Excel General
    Replies: 3
    Last Post: 05-09-2008, 10:11 AM
  7. [SOLVED] Links to other workbooks
    By Darrell Wesley in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-12-2005, 05:06 PM

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