How do I hide/password protect a function? :: MrExcel Message Board


 FAQFAQ
   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   FavoritesFavorites   StatisticsStatistics 
 RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Online StoreOnline Store

MrExcel Message Board Forum Index -> Excel Questions

How do I hide/password protect a function?
Post new topic   Reply to topic
Last Thread | Next Thread  >   Printable version
  Author    Thread

Greg G
Board Regular


Joined: 31 Jan 2003
Posts: 12


Status: Offline

 Reply with quote  

I've created an elaborate function in excel. I would like to do 2 things.

1. Password protect/hide the code
2. It uses an array setup in an excel spreadsheet - hide that information too.

I would still like everyone to be able to use it, just not modify. Any ideas? thank you in advance.

Post Fri Jan 31, 2003 6:39 pm 
 View user's profile Send private message Send e-mail

Thunder
Board Regular


Joined: 28 Jan 2003
Posts: 83
Location: Wylie, Texas

Status: Offline

 Reply with quote  

To protect/hide the formula(s), right click on the cell or group of cell and select Format Cells. Click the Protection Tab and make sure that the "Locked" and "Hidden" boxes are selected and Click OK. Then go to Tool, Protection, Protect Sheet and enter a password. You must enter it twice. To protect the spreadsheet where the array is, go to Format, Sheet, and select Hide. Then go back to Tools, Protection, Protect Workbook and enter a password. That should do it unless I over simplified your question.

Mike Collins

Post Fri Jan 31, 2003 6:50 pm 
 View user's profile Send private message Send e-mail

Greg G
Board Regular


Joined: 31 Jan 2003
Posts: 12


Status: Offline

 Reply with quote  

Thanks Mike. I didn't think it was that easy. Now all my hard work is locked up tight!

Greg

Post Fri Jan 31, 2003 7:28 pm 
 View user's profile Send private message Send e-mail
  Display posts from previous:      

MrExcel Message Board Forum Index -> Excel Questions


Forum Jump:
Jump to:  

Post new topic   Reply to topic
Page 1 of 1



Add To Favorites

 


Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB: 2.0.4 © 2001 phpBB Group

Need help posting your first question? Read how to post

Need extra help ? Couldn't get the answer you needed ? Get a free quote from our Consulting Team

Download Colo's HTML Maker utility for displaying your Excel Worksheet on the board.

Download VB HTML Maker to post your code on the board


Check out our new index to 485 Excel Articles.


Return to MrExcel Consulting

All contents Copyright 1998-2004 by MrExcel.com
If you believe information posted here is from your copyrighted source, notify us per the Terms of Use
Excel is a registered trademark of the Microsoft Corporation.
MrExcel is a registered trademark of Tickling Keys, Inc.