Read only certain columns from xls

前端 未结 3 1642
北海茫月
北海茫月 2021-01-06 10:59

I have an excel spreadsheet with several sheets. The format is as below:

Date        A       B       C       D       E       F                       Referenc         


        
3条回答
  •  滥情空心
    2021-01-06 11:48

    Another option is to use is to use Excel named range with RODBC.

    channel<-odbcConnectExcel(paste(Repository,excelFile, sep = "/"))
    ConsoTab<-sqlFetch(channel,NamesRangeAF)
    odbcClose(channel)
    

    Here NamesRangeAF is your Excel named Range.

提交回复
热议问题