A shorthand function for

writeText(wb, sheetname, x, row, column, style, name)

Arguments

wb

A workbook object

sheetname

A sheetname

x

Input

row

The row at which to insert text

column

The column at which to insert text. Can be a vector.

style

A style object as defined by openxlsx::createStyle

name

A name to assign to the text. Note that this has to be unique

Details

Facilitates the process of inserting text content into workbooks. This function integrates operations openxlsx::writeData and openxlsx::addStyle, providing a convenience function for text blocks.