I have an excel sheet which contains a hyperlink. I am editing this excel sheet from R using the openxlsx package to read and edit it and to save it afterwards again.
One step involves deleting all data from a certain range:
openxlsx::deleteData(
wb = wb,
sheet = sheet,
cols = dataCols,
rows = dataRows[1]:max_row,
gridExpand = TRUE
)
The problem is now, that one cell contains a hyperlink, which stays, but the text is deleted.
How can I delete all hyperlinks in the same range as well?