powered by
Add form control Checkbox, Radiobuttons or Dropmenu
wb_add_form_control( wb, sheet = current_sheet(), dims = "A1", type = NULL, text = NULL, link = NULL, range = NULL, checked = FALSE )
The wbWorkbook object
wbWorkbook
A workbook object
A worksheet of the workbook
Optional row and column as spreadsheet dimension, e.g. "A1"
A type "Checkbox" (the default), "Radio" a radio button or "Drop" a drop down menu
A text to be shown next to the Checkbox or radio button
A cell range to link to
A cell range used as input
A logical indicating if the Checkbox or radio button is checked
wb <- wb_workbook() %>% wb_add_worksheet() %>% wb_add_form_control()
Run the code above in your browser using DataLab