Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Locking Excel worksheets from view?

  1. #1
    MickG's Avatar
    MickG is offline ChatterBox Silver Subscriber
    Join Date
    Jan 1970
    Location
    Gold Coast, Qld
    Posts
    2,737
    Total Downloaded
    0

    Locking Excel worksheets from view?

    I need to lock certain worksheets in an Excel file from view and send to various branches of our business (with certain sheets locked for the respective branches) How do I do this?
    Essentially I have 3 branches where figures are collated and I only want each branch to see ther own figures and not the other branches, but I still need all the worksheets to sit on the one file for graphing/calculating purposes etc.

    Have found how to protect but thaat just password protects the sheets so they can't modify, but they can still view.

    Any help appreciated, thank you.

    Aye, Mick
    '99 Manual TD5 D2.......heap of money spent on it and it has ended

  2. #2
    dmdigital's Avatar
    dmdigital is offline OldBushie Vendor

    Gold Subscriber
    Join Date
    Jun 2006
    Location
    Arnhem Land, NT
    Posts
    8,492
    Total Downloaded
    0
    Not sure if it can be done. You can hide a sheet (but it can be unhidden) or lock cells or the whole sheet from editing.

    What I'd suggest is have 3 workbooks with a single sheet in each one for each group and have a 4th one which links to these three for you charting etc.
    MY15 Discovery 4 SE SDV6

    Past: 97 D1 Tdi, 03 D2a Td5, 08 Kimberley Kamper, 08 Defender 110 TDCi, 99 Defender 110 300Tdi[/SIZE]

  3. #3
    MickG's Avatar
    MickG is offline ChatterBox Silver Subscriber
    Join Date
    Jan 1970
    Location
    Gold Coast, Qld
    Posts
    2,737
    Total Downloaded
    0
    Quote Originally Posted by dm_td5 View Post
    Not sure if it can be done. You can hide a sheet (but it can be unhidden) or lock cells or the whole sheet from editing.

    What I'd suggest is have 3 workbooks with a single sheet in each one for each group and have a 4th one which links to these three for you charting etc.
    thanks dm_td5, that was my other thought although thaat would mean 3 separate fiels and then there is the problem of linking those onto 1 single file........how is this done?

    Ideally i would like 1 data entry point for each branch and the information to automatically collate for the group..........hoping i am not asking too much of Excel.

    thanks again, Mick
    '99 Manual TD5 D2.......heap of money spent on it and it has ended

  4. #4
    Join Date
    Jan 1970
    Location
    Jimboomba, QLD
    Posts
    1,293
    Total Downloaded
    0
    Are you planning to send the same file from one branch to the next with each one inputting data before forwarding?
    If not, then dm_td5's suggestion is probably best. If you would rather not link the files, you can copy worksheets and collate them into one workbook in which you do your calculations.
    What you want to do is possible if you use Visual Basic for Applications (VBA). On opening the sheet a window can be made to appear into which the user enters their credentials. Based on the result, you can then have the spreadsheet hide/lock appropriate sheets. Not the 'click an option' solution that you were probably looking for but it would certainly work.

    Once you get into VBA you'll realize that there's alot more to Excel (and all Office apps for that matter!)
    -- Paul --


    | '99 Discovery Td5 5spd man with a td5inside remap | doesn't know what it is in for ...
    | '94 Discovery Tdi 5spd man | going ... GONE

  5. #5
    dmdigital's Avatar
    dmdigital is offline OldBushie Vendor

    Gold Subscriber
    Join Date
    Jun 2006
    Location
    Arnhem Land, NT
    Posts
    8,492
    Total Downloaded
    0
    Quote Originally Posted by MickG View Post
    thanks dm_td5, that was my other thought although thaat would mean 3 separate fiels and then there is the problem of linking those onto 1 single file........how is this done?

    Ideally i would like 1 data entry point for each branch and the information to automatically collate for the group..........hoping i am not asking too much of Excel.

    thanks again, Mick
    You can link sheets from other workbooks into one using formula's in the cells. Best thing is to read up on linking spreadsheets in the help, very straight forward.

    The VBA option is also quiet viable but if you haven't programmed before I would recommend the linking option
    MY15 Discovery 4 SE SDV6

    Past: 97 D1 Tdi, 03 D2a Td5, 08 Kimberley Kamper, 08 Defender 110 TDCi, 99 Defender 110 300Tdi[/SIZE]

  6. #6
    Join Date
    Apr 2002
    Location
    Godwin Beach 4511
    Posts
    20,694
    Total Downloaded
    32.38 MB
    nothing in excel is secure in any way shape or form..

    there are freely available tools that cost nothing that will get you into anything in office...
    2007 Discovery 3 SE7 TDV6 2.7
    2012 SZ Territory TX 2.7 TDCi

    "Make the lie big, make it simple, keep saying it, and eventually they will believe it." -- a warning from Adolf Hitler
    "If you don't have a sense of humour, you probably don't have any sense at all!" -- a wise observation by someone else
    'If everyone colludes in believing that war is the norm, nobody will recognize the imperative of peace." -- Anne Deveson
    “What you leave behind is not what is engraved in stone monuments, but what is woven into the lives of others.” - Pericles
    "We can ignore reality, but we cannot ignore the consequences of ignoring reality.” – Ayn Rand
    "The happiness of your life depends upon the quality of your thoughts." Marcus Aurelius

  7. #7
    Join Date
    Aug 2006
    Location
    Redbank Plains
    Posts
    1,256
    Total Downloaded
    0
    Hey Mick,

    As Inc has said there is probably easy ways for people to unlock or get past any of the security but it is easy to hide and password protect a sheet within the file. Have the sheet you want to hide open, select Format>Sheet>Hide. Once hidden select Tools>Protection>Protect Workbook and put in a password. Once the workbook is protected the unhide sheet option is not available. Inc would be more of an expert on breaking this protection but if you dont think the people you are sending it too are going to go to the effort of getting around this then the simple option you requested is available. Give me a call anytime

  8. #8
    dmdigital's Avatar
    dmdigital is offline OldBushie Vendor

    Gold Subscriber
    Join Date
    Jun 2006
    Location
    Arnhem Land, NT
    Posts
    8,492
    Total Downloaded
    0
    Quote Originally Posted by incisor View Post
    nothing in excel is secure in any way shape or form..

    there are freely available tools that cost nothing that will get you into anything in office...
    Check out the encyption levels of password protection offered post MSOffice 97. Yes there are tools that will brute force their way to the passwords, but they can take months. One of the biggest issues I've had is with people password protecting their documents and spreadsheets and forgetting what it was Access database passwords are, on the other hand, very unsecure!
    MY15 Discovery 4 SE SDV6

    Past: 97 D1 Tdi, 03 D2a Td5, 08 Kimberley Kamper, 08 Defender 110 TDCi, 99 Defender 110 300Tdi[/SIZE]

  9. #9
    MickG's Avatar
    MickG is offline ChatterBox Silver Subscriber
    Join Date
    Jan 1970
    Location
    Gold Coast, Qld
    Posts
    2,737
    Total Downloaded
    0
    Thanks guys

    No real security issues as I am only sending the files to some of my staff who at the end of the day would not be that interested in seeing the other sheets, but if they did, no great loss......although would still like to hide. Very sure they would not have the know how or patience to hack the passwords.

    Also trying to expand my knowledge of Excel through this process as I use it everyday now and realise I only use a fraction of it's capabilities.

    Also as pointed out, there is already a fundamental flaw in what I am trying to do - which is have one data entry point for each branch - this would not work as I would have to pass the file round each office for all to update or set it up on a server type set up, but then that's a whole other kettle of fish.

    Anyway, have managed to figure out how to hide a sheet - cheers stikman - and tomorrow is set down for a bit of light Excel reading from the Microsoft help section.

    Appreciate everyone's input once again as I fumble through some IT essentials.

    Aye, Mick
    '99 Manual TD5 D2.......heap of money spent on it and it has ended

  10. #10
    Join Date
    Jan 2007
    Location
    Perth, WA
    Posts
    1,655
    Total Downloaded
    0
    Quote Originally Posted by dm_td5 View Post
    Check out the encyption levels of password protection offered post MSOffice 97. Yes there are tools that will brute force their way to the passwords, but they can take months.
    Even with good passwords, modern tools will unlock most Office apps in seconds.....
    Jeff

    1994 300TDi Defender
    2010 TDV8 RRS

Page 1 of 2 12 LastLast

Bookmarks

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 AULRO.com ONLY!
Search All the Web!