Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi,
i am creating an excel sheet from vb and importing some data in to it. i want to lock that excel sheet so that the data in the excel sheet is not changed. pls help me. Thanks in advance. Suresh |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The best way is to record a macro of Tools/Protection/Protect Sheet action!
You will then see in the recorded macro something like this: ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True Regards, Stefi "Suresh" wrote: hi, i am creating an excel sheet from vb and importing some data in to it. i want to lock that excel sheet so that the data in the excel sheet is not changed. pls help me. Thanks in advance. Suresh |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
locking formula in cells in without locking whole sheet | Excel Discussion (Misc queries) | |||
locking vba code | Excel Programming | |||
Locking range for view of Excel Sheet on button click | Excel Programming | |||
Locking the view of Excel sheet | Excel Programming | |||
Code for locking windows | Excel Programming |