P
pini35
Need some help please.
I have a Worksheet which has columns formatted into either Text or
Numeric cells.
I want to:
1) Assign a range in the worksheet (e.g. $a2:$BK2).
2) Recognise the cell format of each column in that range (e.g. whether
the column format is Text or Numerical)
3) Where the column is Text formatted, take the value of each cell in
that column and add quotation marks around the value (e.g. where the
value is MONDAY, add quotation marks around MONDAY to change it to
"MONDAY").
This is so I can save the worksheet as a .CSV file where text values
are shown in quotation marks when opened as a text file(e.g.
"DM",100000,100000,"WM2","FIRM")
Any route as long as the solution is reached will be fine.
Hope I can get some help with the complete solution or at least part of
it. Many thanks in advance.
Pini
I have a Worksheet which has columns formatted into either Text or
Numeric cells.
I want to:
1) Assign a range in the worksheet (e.g. $a2:$BK2).
2) Recognise the cell format of each column in that range (e.g. whether
the column format is Text or Numerical)
3) Where the column is Text formatted, take the value of each cell in
that column and add quotation marks around the value (e.g. where the
value is MONDAY, add quotation marks around MONDAY to change it to
"MONDAY").
This is so I can save the worksheet as a .CSV file where text values
are shown in quotation marks when opened as a text file(e.g.
"DM",100000,100000,"WM2","FIRM")
Any route as long as the solution is reached will be fine.
Hope I can get some help with the complete solution or at least part of
it. Many thanks in advance.
Pini