Port of VBA-m for playbook