I am using the following code to apply the *result* of a formula in place of the actual formula in the same cell:
This works fine as long as the cells are unlocked but I really need to keep them locked - can this be done?
Code:
Cells(crow, "AQ:AQ").Activate
Selection.Copy
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
Application.CutCopyMode = False
This works fine as long as the cells are unlocked but I really need to keep them locked - can this be done?