Wanted to show/hide custom ribbon button using officejs in typescript.
Tried getting element of custom ribbon button using jquery but not able to get the same since id getting random every time excel run.
$("#id__1157").id.hide()
Expected Result: Wanted to show/hide custom ribbon button in Excel using officejs in typescript