I know how to lock cells without macro... But when I do that on my macro-enabled worksheets, it distorts the running vba codes... That's where I'm having problems...

This is why I was asking if it was possible to lock the whole columns using a VBA code.