Why call the code? just use:

    Sheet1.Unprotect
    'do stuff...
    Sheet1.Protect
with whichever sheet you want to update.