Programmatically create checkboxes in c# in an excel spreadsheet

后端 未结 3 2136
无人及你
无人及你 2020-12-19 14:29

As part of a project I am working on, I a need to be able to create checkboxes inside an excel spreadsheet, could anyone provide a simple example or direct me to a useful re

3条回答
  •  臣服心动
    2020-12-19 15:10

    Interesting question. I haven't tried it, but I think you either add it as a Worksheet.Shape item, or add it as an OLEObject. The following example shows how to read an existing checkbox from a worksheet. It is probably a good starting place to work backwards from:

    http://forums.asp.net/p/1244356/3293168.aspx

提交回复
热议问题