How to disable/enable the built-in controls dynamically when one shape in excel VSTO c#?
Hi
I am working in excel VSTO add-in.
In excel, having built-in tabs, groups, and controls in the ribbon. I need to disable the built-in controls in the excel.
For example, under Home tab and under Editing group have Replace control. I need to disable that Replace control dynamically if at least one shape exists because it can replace only the appearance of the shape and cannot replace the shape data.
Alternatively. Is there a solution for replace the shape data by Replace Control?
Otherwise, Is there a solution for not replace the appearance of the shape?
Before Replace
After Replace