Is the cell that you have to modify locked? The sheet could be protected, but if the cell in question isn't locked, you should be able to change it.
Ben
Interesting problem. Is it possible that the cell with the number 50 in it is actually a formula and the cell is formatted as "hidden", so you would not see the formula in the formula bar? If so, then the cells that make up the formula may be unlocked, but the cell with the 50 is locked, hence, if you change part of the formula, the 50 will change.
That's all I can think of. If it's something different, please post it. You've got me curuous.
S.
You could finesse the issue by copying the whole sheet, formatting and all, into a new workbook. The new sheet would be unprotected, and you could have your way with it.
Tom
you can unprotect the sheet.. since you cannot edit and unlocked the cells if the worksheet is protected.. use this it may work
activesheet.unprotect
worksheets (name of worksheet).range ("a1") = 25
hope this will work..
follow up guys, how can i edit a protected sheet so that the it can accept new criterias for the solver.. the unprotect sheet is not working