The way I wrote this, all cells on the sheet are protected. The cells in
a14.g22 simply show an update from another worksheet.
**********************************************
First, lets look at a little terminology: Cells are not protected, only
sheets or workbooks. Cells are locked or unlocked with
==>Format>Cells>Protection TAB> CheckMark in front of Locked.
However, no visible difference takes place to a locked vs unlocked cell
until the SHEET is protected. Then a user cannot enter data directly into a
locked cell. The value of a locked cell can still change if the cell has a
formula in it that updates from some calculation on another cell.
You mention that your range a14:g22 shows an update from another worksheet.
I therefore come to the conclusion that these cells have formulas in them.
Yet you also, as I understand your post, want the user to be able to select
and change cells in this range? If you allow the user direct access to these
cells the formulas will be lost. Do you really want that?
If you really want the user to be able to edit a14:g22 directly, and not
just by entering data elsewhere, which then updates this range thru formulas,
then:
1. Unprotect the sheet
2. Select the range a14:g22
3 Format>Cells>Protection> Remove the check in front of Locked
4 click ok
5 Protect the sheet
Now the user has access to that range.
In addition:
If you want the user to ONLY be able to SELECT cells that are unlocked when
the sheet is PROTECTED: use the vba code
Activesheet.EnableSelection = xlUnlockedCells
or add it to the Workbook_Open event:
Dim Sh as Worksheet
For each Sh in Worksheets
Sh.EnableSelection=xlUnlockedCells
Next Sh