Got it! In my first code I was hiding the cost prices then protecting. In my second code I was trying to unhide the cost prices before unprotecting. Thanks for the help again!