|
发表于 2014-10-31 17:37:05
|
显示全部楼层
糯米老虎 发表于 2014-9-21 10:37
我提个问题 关于保护工作表的问题。比如,一个excel有10个sheet,每个都不同,每个sheet上都有公式,并且设 ...
This one is a bit tricky. By default, every cell in a worksheet is locked. If all of your 10 sheets have exactly the same structure, you can select the first one and hold SHIFT to select last sheet to put 10 worksheets in group mode. then you select all cells to unlock them first and then select the cells with formula and lock them.Lastly protect your worksheet and uncheck "Select locked cells", add password, then you are good to go.
But if the 10 worksheets do not have the same structure and the cells with formula are not in the same range in each sheet, things will get complex here. You can use VBA to do this of course, but it will be cumbersome if you have multiple ranges in each sheet which you want to protect the formula. I would prefer to have a look at your workbook before i can give you a solid solution.
|
|