Excel 2000

dtrom26

New Member
Joined
Jul 21, 2015
Messages
32
Hi

Hoping someone can help. I have the following code running in a MS Excel file running off MS Excel Professional Plus 2016. However, I am now trying to run this code in Excel 2000 but it keeps failing. Please can anyone help and modify the code to suit Excel 2000. I am not a programmer and managed to find most of the code below online.

Unfortunately I am stuck with Excel 2000 for this purpose as this is the only license we have on the machine I want to run it from.

Thanks

"Sub Open_HTML_Save_XLSX()
Workbooks.Open Filename:="C:\Users\NICK_3\Downloads\RATIOS.HTML"
ActiveWorkbook.SaveAs Filename:= _
"C:\Users\NICK_3\Downloads\RATIOS2.XLSX", FileFormat:= _
xlOpenXMLWorkbook
ActiveWorkbook.Close
End Sub"
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
You can't open a xlOpenXMLWorkbook (.xlsx) in 2000, it has too many rows and columns.
You need to convert the file to a xlExcel8 (.xls).
 
Upvote 0
Thank you for your help. Could someone please help me modify the code for Excel 2000? I am not a programmer and have no idea where to start:(

Thank you so much.
 
Upvote 0
It is not the code it is the type of file... you can't open a file which holds a million+ rows and a thousand + columns with a program that can only handle 65000+ rows and 256 columns.
You need to open the file in the later version (on the works computer) and then save it as a xls (the older version) then change the code to Excel8.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,985
Messages
6,122,605
Members
449,089
Latest member
Motoracer88

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