Konstantinos Cheilakos
Konstantinos Cheilakos

Reputation: 129

Is it possible to add a button on Excel sheet using Office Js Api?

I am building an Excel Addin using Office JS API. I have found a workaround to dynamically generate drop-down lists and now I am wondering whether I can add a Button on excel sheet using Excel JS API

Upvotes: 1

Views: 775

Answers (2)

Gove
Gove

Reputation: 1794

While you cannot add a button through the Exel Javascript Library, you can format a cell to look like a button and have it execute your javascript code when clicked. See a post I wrote on this: Excel Office.js -add button on Workbook_Open() envent

Upvotes: 0

Konstantinos Cheilakos
Konstantinos Cheilakos

Reputation: 129

It seems that currently there is no way to add a button to the spreadsheet itself with the Excel JavaScript Library.

Upvotes: 1

Related Questions