Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
disabling cells
Hi
I would like to know if there is any code in VBA by which i can disabl cells in Excel once the work sheet is open. Thank -- Message posted from http://www.ExcelForum.com |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
disabling cells
Private Sub Workbook_Open(
ThisWorkbook.WorkSheets("name").Range("2:2").Hidde n = Tru End Sub |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
disabling cells
Hi
what do you mean with 'disable'?. You may unlock all other cells ('Format - Cells - Protection') and protect the worksheet to prevent any entries in the remaining (locked) cells -- Regards Frank Kabel Frankfurt, Germany "lak " schrieb im Newsbeitrag ... Hi I would like to know if there is any code in VBA by which i can disable cells in Excel once the work sheet is open. Thanks --- Message posted from http://www.ExcelForum.com/ |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
disabling cells
Hi
thanx for the reply..however i dont understand how to unlock a cel when the work sheet is protected b'cause the menu which said(Format-Cell-unlock) is not enabled once the work sheet i protected...Can u pls give me a step by step explanation. Than -- Message posted from http://www.ExcelForum.com |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
disabling cells
Hi x
Thanx for ur reply....in the codewhat does (2:2) stand for is it th Row & column? can u pls tell me in detail. Than -- Message posted from http://www.ExcelForum.com |
#6
Posted to microsoft.public.excel.programming
|
|||
|
|||
disabling cells
Hi
within your code do the following: - unprotect the worksheet - unlock the cell - protect the worksheet again Try recording a macro while doing this manually -- Regards Frank Kabel Frankfurt, Germany "lak " schrieb im Newsbeitrag ... Hi thanx for the reply..however i dont understand how to unlock a cell when the work sheet is protected b'cause the menu which u said(Format-Cell-unlock) is not enabled once the work sheet is protected...Can u pls give me a step by step explanation. Thanx --- Message posted from http://www.ExcelForum.com/ |
#7
Posted to microsoft.public.excel.programming
|
|||
|
|||
disabling cells
Thanks a lot for ur help..I am able to do wat i wanted to.
regards La -- Message posted from http://www.ExcelForum.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Disabling copy/paste hidden cells | Excel Worksheet Functions | |||
Disabling Cut and Copy | Excel Discussion (Misc queries) | |||
disabling CUT function | Excel Discussion (Misc queries) | |||
Disabling Commands | Excel Programming | |||
disabling cells based on cmd button | Excel Programming |