Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm looking to create a macro that will export my active work sheet to
a fixed width text file. Currently I import my data from Excel to MS Access and then export from Access as a fixed width txt file. Can I do this with a macro in Excel? I have 24 columns of information and could have a few hundred or a few thousand rows of data. Below is the fixed with specs I use to export from Access. Field Name Start Width Field1 1 69 Field2 70 13 Field3 83 11 Field4 94 48 Field5 142 18 Field6 160 14 Field7 174 14 Field8 188 14 Field9 202 14 Field10 216 14 Field11 230 14 Field12 244 14 Field13 258 14 Field14 272 14 Field15 286 14 Field16 300 14 Field17 314 14 Field18 328 14 Field19 342 14 Field20 356 26 Field21 382 127 Field22 509 64 Field23 573 71 Field24 644 1 Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Fixed Column Width Export | Excel Discussion (Misc queries) | |||
Macro for importing a fixed width text file into the activeworkbook | Excel Programming | |||
How to export to fixed width text file? | Excel Worksheet Functions | |||
Importing Fixed Width File Macro | Excel Programming | |||
Export to fixed width text file | Excel Discussion (Misc queries) |