I am working on a protected worksheet so the VBA macro I wrote unprotects the sheet, do it's job and then reprotects the sheet. This works fine but It allows my macro to be applied to any cell. How can I make sure the VB macro can only be applied to pre-determined cells.

Here is my actual VB code

Sub TimeStamper()
Feuil1.Unprotect Password:="password"
ActiveCell.Value = Now
ActiveCell.NumberFormat = "H:MM:SS AM/PM"
ActiveCell.Interior.ColorIndex = 36
Feuil1.Protect Password:="password"
ThisWorkbook.Save
End Sub

Thank you