Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Lock / Unlock Cell

Hi,

I would like to lock / unlock a whole column by using VBA
code. How to do it? Anyone knows?

Thanks.

Terence
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Lock / Unlock Cell

(use the recorder!!)

Columns("H:H").Locked = False
Columns("H:H").Locked = true



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lock Unlock Cell Protection Mike Josephson Excel Worksheet Functions 3 July 17th 09 10:06 PM
hoW TO LOCK AND UNLOCK A CELL USING A FUNCTION/FORMULA Ridhi Excel Worksheet Functions 6 April 23rd 08 05:41 AM
FORMULA/FUNCTION TO LOCK AND UNLOCK A CELL Ridhi Excel Discussion (Misc queries) 2 April 21st 08 11:03 AM
How to lock and unlock a cell using formulas in excel Ridhi Excel Discussion (Misc queries) 1 April 19th 08 11:33 AM
Lock or Unlock cell references in a formula for auto fill purposes David P. Excel Discussion (Misc queries) 2 June 6th 05 11:18 PM


All times are GMT +1. The time now is 02:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"