![]() |
|
#2
|
||||
|
||||
|
Your content doesn't have trailing 0s, it has leading 0s. That said, if you want to control the sort order of files whose name begins with 'Table', you can use:
x = Format(i , "000") FileName = "C:\Users\VBA-beginner\Downloads\RPYC\CASS-Tables\Table_" & x & ".txt" These files will have the same sort order as: FileName = "C:\Users\VBA-beginner\Downloads\RPYC\CASS-Tables\" & x & "__Table_" & x & ".txt"
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
| Tags |
| batch save, filesort, naming files |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| File lists like windows explorer in onenote? | karmajohn | OneNote | 0 | 07-22-2015 02:24 PM |
Windows Explorer search function
|
S Fierro | Windows | 1 | 07-11-2014 06:11 AM |
Personalize windows explorer
|
dianabanana | Office | 1 | 03-24-2014 08:10 PM |
How to enlarge Thumbnail View in XP Windows Explorer
|
Gary Drumm | Windows | 3 | 02-10-2014 02:25 PM |
Windows explorer search problem...help!!
|
NewSysAdmin | Windows | 1 | 03-08-2011 05:33 PM |