VBA+AO common code