Make sure there isn't another on open event in the same file, it should work fine.