Best Method to Convert Excel files to version 2010

IMNovice

New Member
Joined
Jun 23, 2005
Messages
27
I have many files in the xls file format....mainly from Excel 97, 2000 and 2003. What is the best method to convert them to version 2010? Many files have macros in VBA, pivot tables,
cell links to other files, range names, etc.

Please, only responses from experienced members only, such as Excel MVP's.

Thanks.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
I use this function to convert from .xls to .xlsx. This naturally would have to be changed to include macro enabled workbooks. I reads the files from a specific location.

Code:
Sub ConvertXLStoXLSX()
StrPath = ThisWorkbook.Path & "\Import AT&T\"
'Get the first filename
strFile = Dir(StrPath, vbNormal)
Do
    'check to see if you have a filename
    If strFile = "" Then
        GoTo ExitHere
    End If
    If Right(strFile, 3) = "xls" Then
        Set objChangeWorkbook = Workbooks.Open(StrPath & strFile)
        WorkbookName = Left(strFile, InStrRev(strFile, ".") - 1)
        objChangeWorkbook.SaveAs StrPath & WorkbookName & ".xlsx", FileFormat:= _
            xlOpenXMLWorkbook, CreateBackup:=False
        objChangeWorkbook.Close
        Kill StrPath & strFile
    End If
    strFile = Dir()
Loop
ExitHere:
End Sub
 
Upvote 0
Since Excel 2010 has no difficulty reading and writing xls files, I think it's fine to just do it as needed. You could even just leave the files in xls format - there's no hurry. I've put the "convert" button on my QAT toolbar and if I want to update the format I click the button and its done. One drawback here is that you lose the original file - so if you have doubts it's best to make a backup first. Another reason to take it slow.

ξ

BTW, I wouldn't up front exclude anyone who has a good idea to share - knowledge is valuable wherever it is found:
Please, only responses from experienced members only, such as Excel MVP's.
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,287
Members
452,902
Latest member
Knuddeluff

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