Created
September 20, 2023 11:32
-
-
Save albertzsigovits/bbfbdaa633fe5c9e73ae3947fadd87db to your computer and use it in GitHub Desktop.
EnumExcelFormat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub x() | |
On Error Resume Next | |
For i = 0 To 100 | |
If i < 10 Then f = "out\0" & i Else f = "out\" & i | |
ActiveWorkbook.SaveAs Filename:=f, FileFormat:=i | |
Next i | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment