Querying more than 65536 rows error in Excel 2013

前端 未结 2 883
北恋
北恋 2020-12-06 03:57

I am trying to query a spreadsheet using VBA and am running up against a seeming hard limit of 65536 rows (though I am running Excel 2013).

When trying to select all

2条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-06 04:04

    I encountered this problem a long time ago. What I did was writing my query like this:

    select Data from [Temp$]
    

    Where Temp was my sheet name, the content of cell A1 was "Data" and the content of A2:A80000 were ids

    It worked.

提交回复
热议问题