chuggins143

Board Regular
Joined
Nov 10, 2009
Messages
100
Anyone have a list for all of the file format numbers? I've done some poking around on the interwebsbut have only come up with the following... <o:p></o:p>
<o:p></o:p>
FileExtStr = ".xlsb": FileFormatNum = 50<o:p></o:p>
FileExtStr = ".xlsx": FileFormatNum = 51<o:p></o:p>
FileExtStr = ".xlsm": FileFormatNum = 52<o:p></o:p>
FileExtStr = ".xls": FileFormatNum = 56<o:p></o:p>
FileExtStr = ".csv": FileFormatNum = 6<o:p></o:p>
FileExtStr = ".txt": FileFormatNum = -4158<o:p></o:p>
FileExtStr = ".prn": FileFormatNum = 36<o:p></o:p>
<o:p></o:p>
When I “SaveAs” in Excel there are about 25+ options, I’m assumingthere are numbers for all of them… anyone have a full list? ..or know where I can reference one?
<o:p></o:p>
Thanks!<o:p></o:p>
<o:p></o:p>
Chad<o:p></o:p>
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
May be going through Excel Help on this topic can fetch you what you want: [h=1]XlFileFormat Enumeration[/h]
Regards,
 
Upvote 0
Go to the object browser in the VB window (Press F2) and then type xlFileFormat in the Search Text box.
 
Upvote 0

Forum statistics

Threads
1,215,357
Messages
6,124,483
Members
449,165
Latest member
ChipDude83

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