dim b is in slot 0. Taking it out gives me Type mismatch on A. It's like Dim A doesn't exist even though it should be global.