1

This doesn't look dirty to me, but perhaps that's because this is a common error handling pattern in VBA. However, if you're really determined to get rid of the GoTo, then you could try an Or, couldn't you? (I don't know Go, so I could be wrong in syntax, but the principal should work.)
passwd, ...