Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Get Locked Cell Value
I have a sheet which has several columns locked and I want to assign values
from these cells to a variable. How can this be done from one of the cells which is not protected? Many Thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Get Locked Cell Value
Hi Jimbob,
After searching this group for keywords "assign cell value to variable" and "unprotect", I found these. you could assign value to variable like: myValue = Range("A2") You may need to unprotect the sheet first: Sheets("SheetName").Unprotect "PassWord" And then protect the sheet: Sheets("SheetName").Protect "PassWord" A clearer description of your goals may generate a more complete response. HTH Dan |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Locked worksheet & hyperlinks (w/ select locked cells unchecked) | Excel Discussion (Misc queries) | |||
locked cell not locked | Excel Discussion (Misc queries) | |||
VBA for Cell locked please help | Excel Programming | |||
Locked out of Cell Formatting | Excel Discussion (Misc queries) | |||
Put comments on a locked spreadsheet even though cells not locked | Excel Worksheet Functions |