Thanks for your reply. I am not sure what the code you sent is all about. If I understand, your code opens a fixed width file and if I reverse it, it should save as a fixed width file. Sorry, I am confused. I get information in as an Excel spreadsheet and I need to save it as a .dat file with...
I need the output to be in a fixed column width, with no commas -the "flatfile" command works well, but the drawback is it's 240 character limit per line. The DAT file will be imported back into a financial program. This program using only the .dat format with fixed column widths. I...
How do you save Excel as a .dat file? I tried both of the following methods:
METHOD ONE (does not pick up all the columns)
Application.CutCopyMode = False
With ActiveWorkbook.Styles("Normal")
.IncludeNumber = False
.IncludeFont = True
.IncludeAlignment =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.