+ Reply to Thread
Results 1 to 2 of 2

How do write a macro that will prevent people from seeing or selecting my document

  1. #1
    Registered User
    Join Date
    10-18-2013
    Location
    nigeria
    MS-Off Ver
    Excel 2007
    Posts
    28

    How do write a macro that will prevent people from seeing or selecting my document

    Hello all,

    I am working on a document and in the document, there are specific cells, rows and columns that I do not want users to temper with the formulas. Your help will be highly appreciated.

    Kindest Regards,
    Daotor.

  2. #2
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: How do write a macro that will prevent people from seeing or selecting my document

    By default all cells in a worksheet are locked. If you set sheetprotection on, nobody will be able to make changes to any locked cells and thus not temper with your formulas.
    In the ribbon on the Cells tab select Format and select "Protect sheet". You can then enter a password (if you like) and select what people can do on your sheet.
    Do not forget to unlock any cells people need to input data in.
    Cheers!
    Tsjallie




    --------
    If your problem is solved, pls mark the thread SOLVED (see Thread Tools in the menu above). Thank you!

    If you think design is an expensive waste of time, try doing without ...

+ 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. i am here to interact with experieced people to write macros...
    By Prasadbaba in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 07-01-2013, 08:49 AM
  2. Replies: 2
    Last Post: 04-19-2013, 07:02 AM
  3. Replies: 4
    Last Post: 12-22-2006, 02:27 PM
  4. [SOLVED] is there a macro I can write to email an Excel document
    By rkerrysmith in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-03-2006, 05:10 PM
  5. UserForm question-Is there a way to prevent people
    By =LEN(NICK) in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-24-2005, 10:08 AM

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