A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
You can protect certain cells by format-cell-protection. they are set as protected (locked) by default. You can unlock individual cells. When the sheet is protected only the locked cells can not be changed. HOWEVER, certain formatting functions (like setting color) can not be performed on a protected sheet regardless of the cell's protection. The very best way to do this is to have the macro unprotect the sheet, do its stuff, and then protect it again.