S
Scott
Hello need some advise on how to procede
I need to be able to create a text file containg some text as well as
data that is within a named range in excel and then some more text. I
can handle printing to the text files using cell values etc but am
unsure of the best way to print the ranges data. Is there a way or
procedure to just print the range as is in csv format? As well my range
will contain about 6 columns, each containg a number field (formatting
of decimal places is important, some have 2 dec some 3 etc) Also the
range has a max of 50 rows however will always contain lower rows of
data then that, I dont want blanks printed to the file if there is no
data. I dont know whats the best way to handle this, will each row have
to be printed individually to the file? or is there a way to use the
range name to do it in one step?
If I do have to print each row one by one, can someone help me with some
example code (or where to get it) on the best way to find out the number
of rows of data there is then print each row of data to a text file in
csv?
field1,f2.f3,f4,f5,f6
tia
I need to be able to create a text file containg some text as well as
data that is within a named range in excel and then some more text. I
can handle printing to the text files using cell values etc but am
unsure of the best way to print the ranges data. Is there a way or
procedure to just print the range as is in csv format? As well my range
will contain about 6 columns, each containg a number field (formatting
of decimal places is important, some have 2 dec some 3 etc) Also the
range has a max of 50 rows however will always contain lower rows of
data then that, I dont want blanks printed to the file if there is no
data. I dont know whats the best way to handle this, will each row have
to be printed individually to the file? or is there a way to use the
range name to do it in one step?
If I do have to print each row one by one, can someone help me with some
example code (or where to get it) on the best way to find out the number
of rows of data there is then print each row of data to a text file in
csv?
field1,f2.f3,f4,f5,f6
tia