Open drk-1 opened 1 year ago
I would like to delete an image from a workbook. wb@.xData$media[1]
wb@.xData$media[1]
image1.png "C:/Users/DIEGO4~1/AppData/Local/Temp/RtmpKaTqyv/file50f81e22763a/xl/media/image1.png"
How can I go about it? If I just: wb@.xData$media[1] <- NA
wb@.xData$media[1] <- NA
I get
Error in file.copy(x, file.path(xlmediaDir, names(media)[which(media == : no files to copy to
when trying to save.
If wb@.xData$media[1] <- "" Then I can save but when opening the excel file it has to be repaired
wb@.xData$media[1] <- ""
Removed Part: /xl/drawings/vmlDrawing1.vml part. (Drawing shape)
Thanks!
I made it work by running:
wb@.xData$vml[1] <- ""
I would like to delete an image from a workbook.
wb@.xData$media[1]
How can I go about it? If I just:
wb@.xData$media[1] <- NA
I get
when trying to save.
If
wb@.xData$media[1] <- ""
Then I can save but when opening the excel file it has to be repairedThanks!
sessionInfo()