HI Ram, do you mean to say that the User will not have access to enter the data..
Example - When user tries to enter or edit any cell, Excel should give error of Locked & hide???
@ prasaddn - Please find the attached workbook and refer macro.
Follow the mentioned Steps to understad issue clearly-
Make Group of all sheets in my workbook-
Press Ctrl1
go to protection tab
put check on "locked" and "hide"
Ungroup all sheet
Select "sheet4" and run macro
Formtting of all the blank cells shall be changed in "Sheet4" as below Locked=false and hide=false.
The above result i need on each sheet when i run this macro in my workbook
your observation is correct. I have 20 sheets in my workbook and Before handover this workbook i want to lock and hide to those cells who have any constants or formulas in any sheet.