Hi and Good day!
I would like to seek for your help regarding my concern. I have a macro-enabled file and it contains formula. the formula is in AH3 and it is being copied down up to the last value I have in A. I declared AH3 as locked cell and all the rest are unlocked cells, and I protected the sheet so my formula in AH3 will not be modified or deleted.
My problem is, below simple macro doesn't work anymore
What i want to happen is to prevent AH3 from being modified or totally deleted and at the same time I can still use the macro above because details being pasted needs to be remove from time to time.
Please help me figure this one out. Thanks a lot in advance for any help that will be given.
God bless!
best regards,
papajups
I would like to seek for your help regarding my concern. I have a macro-enabled file and it contains formula. the formula is in AH3 and it is being copied down up to the last value I have in A. I declared AH3 as locked cell and all the rest are unlocked cells, and I protected the sheet so my formula in AH3 will not be modified or deleted.
My problem is, below simple macro doesn't work anymore
Code:
Sub deleteoldbrt()'
' deleteoldbrt Macro
'
'
Rows("34:34").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Delete Shift:=xlUp
Range("A3:AG9").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.ClearContents
Range("AH4").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.ClearContents
Range("A1").Select
End Sub
What i want to happen is to prevent AH3 from being modified or totally deleted and at the same time I can still use the macro above because details being pasted needs to be remove from time to time.
Please help me figure this one out. Thanks a lot in advance for any help that will be given.
God bless!
best regards,
papajups