Hello!
I am trying to save a excelsheet as a .dat file, but when I do this the macro adds "" in front and at the end of each line. Anyone who knows why?
![]()
Please Login or Register to view this content.
Hello!
I am trying to save a excelsheet as a .dat file, but when I do this the macro adds "" in front and at the end of each line. Anyone who knows why?
![]()
Please Login or Register to view this content.
Try some of the other FileFormats on the list from the link below.
I'd try FileFormat:= xlTextMSDOS
http://msdn.microsoft.com/en-us/libr...ileformat.aspx
didn't help. the problem is that whatever fileformat I am saving it into it adds "", but if I copy into notepad and save as dat it doesn't.
What format is your .dat file supposed to be?
Everyone who confuses correlation and causation ends up dead.
It is supposed to be as they are in the excelsheet, without anything added to it..? Not delimited or anything. Just the spreadsheet.
It must be delimited, otherwise your data file is either just an .xls with a different name, or it's gibberish (unless all rows in each column have the same number of characters).
I want it to be as if I copy the spreadsheet and paste into a notepad text, was that anymore clearifying?
So tab delimited then.
Using your code works fine for me - no "" added anywhere.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks