Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to convert a list of "number format" values to "text format"
values & I know I should add an apostrophe to the beginning of the entry in the cell to convert it. BUT I have many rows that need to be converted. Is there an easier way to do this? Any help's appreciated! Thanks. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
don't know your exact range, but you can give this a try, or give a more
exact range spec Option Explicit Dim cell As Range Sub test() For Each cell In Worksheets("sheet1").UsedRange cell.Value = "'" & cell.Value Next End Sub -- Gary wrote in message ps.com... I'm trying to convert a list of "number format" values to "text format" values & I know I should add an apostrophe to the beginning of the entry in the cell to convert it. BUT I have many rows that need to be converted. Is there an easier way to do this? Any help's appreciated! Thanks. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
What about highlighting the entire column and formatting the cells as text?
" wrote: I'm trying to convert a list of "number format" values to "text format" values & I know I should add an apostrophe to the beginning of the entry in the cell to convert it. BUT I have many rows that need to be converted. Is there an easier way to do this? Any help's appreciated! Thanks. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here is a tiny macro:
Sub Macro1() Dim r As Range For Each r In Selection r.Value = "'" & r.Value Next End Sub Just select any set of cells (row, columns, or groups) and run it -- Gary's Student " wrote: I'm trying to convert a list of "number format" values to "text format" values & I know I should add an apostrophe to the beginning of the entry in the cell to convert it. BUT I have many rows that need to be converted. Is there an easier way to do this? Any help's appreciated! Thanks. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sometimes formatting it to text doesn't work, though it is the easiest
solution. When that happens, I insert a column next to it, copy the column I want converted and "paste special" as values. Hope that works for you. klm " wrote: I'm trying to convert a list of "number format" values to "text format" values & I know I should add an apostrophe to the beginning of the entry in the cell to convert it. BUT I have many rows that need to be converted. Is there an easier way to do this? Any help's appreciated! Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
One Entry to Multiple Rows | Excel Discussion (Misc queries) | |||
HOW CAN I EASILY REMOVE MULTIPLE BLANK ROWS FROM A SPREADSHEET? | Excel Discussion (Misc queries) | |||
Remove Spaces beginning Time entry | Excel Discussion (Misc queries) | |||
How to reformat numbers stored as text (apostrophe at beginning) | Excel Discussion (Misc queries) | |||
how do I easily convert a single column of text (multiple rows si. | Excel Discussion (Misc queries) |