PC Review


Reply
Thread Tools Rate Thread

Column password protection

 
 
Anders
Guest
Posts: n/a
 
      4th Jul 2008
Hi,

Is it possible to protect columns in a spreadsheet with a password?

I would like to hide the contents in specific columns from unauthorized users.

Thanks!
 
Reply With Quote
 
 
 
 
Nigel
Guest
Posts: n/a
 
      4th Jul 2008
You can not protect specific parts of you worksheet with a password. However
you can lock/unlock specific cells, including whole columns, that when the
worksheet is protected (with or without a password); they can/cannot be
selected and /or edited.

You can of course hide a column which is very different to the above, if you
hide and then protect the sheet you cannot unhide.

I guess if you do not want the user to see the contents, then hide is the
best option.

The following will hide column E and then protect the sheet, (you can of
course do this manually without using a macro)

With Sheets("Sheet1")
.Columns("E:E").EntireColumn.Hidden = True
.Protect Password:="myPassword"
End With


--

Regards,
Nigel
(E-Mail Removed)



"Anders" <(E-Mail Removed)> wrote in message
news:FCB9CA5F-52A7-48BD-985F-(E-Mail Removed)...
> Hi,
>
> Is it possible to protect columns in a spreadsheet with a password?
>
> I would like to hide the contents in specific columns from unauthorized
> users.
>
> Thanks!


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Password protection in macro ( Anybody can view my password in VB Sherees Microsoft Excel Misc 2 24th Jan 2010 10:05 PM
Excel Data Protection- AKA: Sheet/Macro Password Protection Mushman(Woof!) Microsoft Excel Setup 0 29th Dec 2009 06:50 AM
Re: Password protection on, but no password required Robert L. \(MS-MVP\) Windows Vista Networking 4 6th Jan 2009 11:48 AM
password protection. I have several documents that are password =?Utf-8?B?bWljaGFlbA==?= Microsoft Word Document Management 1 19th Oct 2005 11:17 PM
password protection file, don't know the password =?Utf-8?B?Y2hhbXAwMQ==?= Microsoft Word Document Management 1 24th Sep 2004 09:20 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:43 AM.