How to install icon on standard bar to run macro by VBA
maniktools said:How to install icon on standard bar to run macro by VBA
A macro sub can be used like other Commands in CorelDRAW's workspace customization.
You might look at this blog post: #2: Workspace Customization - Using a VBA macro sub as a Command.
In that example, I dragged the command to a custom toolbar, but the same type of drag-and-drop can be used to add it to other toolbars or menus.
Not manuallyWith VBA codes
In X7 it can be done by VBA but not in 2022