Closed Thread
Results 1 to 7 of 7

hiding sensitive information

  1. #1
    Registered User
    Join Date
    08-03-2012
    Location
    asdfasdf
    MS-Off Ver
    Excel 2010
    Posts
    2

    hiding sensitive information

    Hi all,

    Someone at work asked me how to keep information hidden in an excel spreadsheet - she sends round budgets, and wants to hide the payroll information.

    My first thought was to hide the columns and then protect and hide the worksheet. I then realised that you can still see the information that is in the cells in a protected worksheet - if you type in the cell in the name box, the contents will come up in the formula bar.

    I guess you could come up with workarounds for that (like putting the information in cell CA8131), but it's a bit clumsy. Is there any better, practical, relatively fool-proof way?

    Thanks a lot

    Adam

  2. #2
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: hiding sensitive information

    Excel is not made to be 'fool-proof'. It can easily be hacked by anyone with some simple instructions found all over the internet. The protection mechanisms in Excel are to prevent 'accidental' exposure to hidden columns, sheets, etc. The best option might be to store the information in a very hidden sheet (hidden/ unhidden via vba), but again the protection isn't 100%
    Please consider:

    Thanking those who helped you. Click the star icon in the lower left part of the contributor's post and add Reputation.
    Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,440

    Re: hiding sensitive information

    You can mark a cell as "hidden" on the Protection tab. That actually means that it will not show any formulae or text values in the formula bar.

    So, if you lock the cells, hide the cells, protect the worksheet (primarily prevent people from accessing locked cells) and then set the visible state to xlSheetVeryHidden in the VBA properties for the sheet, it will stop the majority of people.

    I'd be inclined to suggest that this sheet has links to a master sheet and only picks up information that is essential to the workbook.

    And, of course, the VBA project must be locked for viewing with a password.

    All that said, abousetta is absolutely right (and got the point in first) that Excel is inherently insecure, not in a poor self esteem sort of way, and protection can be broken relatively easily.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    08-03-2012
    Location
    asdfasdf
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: hiding sensitive information

    Hi,

    Thanks a lot - the 'hidden' and 'xlSheetVeryHidden' things were exactly what I was looking for.

    I take your point about excel not being secure - and I'll pass it on - but I just wanted to make sure that someone couldn't stumble across it by chance.

    Adam

  5. #5
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: hiding sensitive information

    If you are satisfied with the responses, then please mark the thread as solved.

    Good luck.

    abousetta

  6. #6
    Registered User
    Join Date
    08-03-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: hiding sensitive information

    Why there are things that you have to hide in terms of payroll? If you don't have any idea about it you may look or visit the [URL="deleted[/URL]. Are you familiar with that?
    Last edited by Richard Buttrey; 08-03-2012 at 03:46 PM. Reason: spam

  7. #7
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: hiding sensitive information

    I have edited this post and will ban the poster since it was clearly advertising and nothing to do with this forum.



    Quote Originally Posted by rhoddie View Post
    Why there are things that you have to hide in terms of payroll? If you don't have any idea about it you may look or visit the . Are you familiar with that?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

Closed 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