A macro is intended to dynamically enable or disable toolbar buttons