I have tried multiple ways of protecting vba code using vba, but I continue to get runtime errors such as "Run-time error '438': Object doesnt support this property or method." I've looked around but haven't found a solution that works for me.
Sub ProtectVBACode()
Dim password As String...