For some reason this code fails when i try and write past row 65536 in excel. The code creates an excel 12 workbook, and when i open it, it has over 1 million rows in it..
Sub TestWriteExcel()
On Error GoTo PROC_ERR
Dim app As Excel.Application, wb As Workbook, ws As Worksheet
Set...