Backround info : I have a set of approx. 100 files that are in tab delimited format. Using Excel 2003, i have a set of macros that i run to quickly format all 100 files to look & be sorted in the way that I need them. The files are located in 3 seperate directories and each are specifiaclly named (file location & names can not be change due to really stupid company rules.) After I run all my macros I must save the files in as a standard microsoft Excel Workbook.
Question: Does anyone know if there is a way to make a macro that will save the active workbook in the "Microsoft Office Excel Workbook" format without changing the file name or directory?
I have tried putting the below code at the end of my macro.
If ActiveWorkbook.FileFormat = xlText Then
ActiveWorkbook.SaveAs fileFormat:=xlNormal
End If
ActiveWorkbook.Save
ActiveWorkbook.Close
When I have this added, it seems to save all the changes but does not change the file format.
I have also tried this to no avail:
ActiveWorkbook.SaveAs fileFormat:=xlNormal
ActiveWorkbook.Save
ActiveWorkbook.Close
Can anyone help?