I defined a function that I am using in all my file sections. In each section I am using the Clear function, therefore I need to go back and run that function again. Is there a way to protect that function from clearing?
Yep, have a look at Protect, or SetAttributes with the Protected attribute.
Clear or ClearAll would then start issuing a message saying it can’t clear your function because it’s protected, which reassuring at first but may become annoying, so you could Quiet the Clear.
That helped.
Thank you very much.