Write a dataValidation listing to cells in an Excel sheet
applyDataValidation(
value,
data,
sheetName,
columnNames,
excelObject,
additionalRows = 100
)Character string. Data validation listing as an Excel expression. For instance `"'Lookup'!$L$2:$L$4"` to use values from `'Lookup'` Excel sheet between `L2` and `L4` cells.
A data.frame previously added to the Excel sheet `sheetName`
Character string. Name of the sheet
Character string. Names of column variable to apply the dataValidation
An openxlsx workbook object
Integer. Additional rows to apply dataValidation
Invisibly returns `NULL`. **Side effect**: mutates the workbook by writing dataValidation listing