problem after Creating and saving xlsx workbooks

kotzo

Board Regular
Joined
Aug 1, 2010
Messages
119
Hi,

I want to create a new xlsx workbook, then populate it by copying an embedded table from a word document, and then use vlookup in order to map the data with the data from another file

Everything workes until my code tried to use a table_array in the vlookup which has 300.000 rows.

Allthough (I think) I created an xlsx workbook, It seems that I' am not able to use more than 65.526 rows.

What is my mistake ?

I used the following code in order to add / save the xlsx workbook:

Code:
With Workbooks.Add
     SaveAs Filename:="temp.xlsx", FileFormat:=xlOpenXMLWorkbook, CreateBackup:=False
End With

Thanks in advance,

Kotzo
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
It worked for me, except I had to put a dot in front of the SaveAs command.

I think you have to close and re-open the workbook to see the extra rows.

What does MsgBox Rows.Count return?
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top