awalker89 / openxlsx

R package for .xlsx file reading and writing.
Other
364 stars 79 forks source link

read.xlsx() not woking while opening .xslm file.( openxlsx 4.2.4) #535

Open Rashmikoparde opened 3 years ago

Rashmikoparde commented 3 years ago

inputFile = adult.xlsm appData <- read.xlsx(inputFile, sheet = 'Adult', startRow = 16) appData

Error : Error: openxlsx can only read .xlsx files

jmbarbone commented 3 years ago

This is corrected in the dev version: https://github.com/ycphs/openxlsx/pull/210

remotes::install_github("ycphs/openxlsx")

For newer version you report issues to https://github.com/ycphs/openxlsx/issues