![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Location: Venezuela
Posts: 13
|
I trying to program a Subroutine to replace a "." for a "," in a column of imported data in order to convert this text into numbers with decimals:
1.0000 --> 1,0000 If I do manually or with a Macro I get the result, if I use the same code than in the Macro for the subroutine I get an undesired result: 1.0000 --> 10000 Do you any idea ? |
|
|
|
|
|
#2 | |
|
Legend
Join Date: Feb 2002
Location: Minneapolis, Mn, USA
Posts: 9,704
|
Not sure, should
Quote:
10,000.00? Or do you want the , to represent a decimal? _________________ Cheers, NateO [ This Message was edited by: NateO on 2002-04-29 15:45 ] |
|
|
|
|
|
|
#3 | ||
|
New Member
Join Date: Apr 2002
Location: Venezuela
Posts: 13
|
I would like teh "," to represent a decimal separator.
Thanks Quote:
|
||
|
|
|
|
|
#4 |
|
Legend
Join Date: Feb 2002
Location: Minneapolis, Mn, USA
Posts: 9,704
|
Howdy, better late than never? I assume your imported numbers are operating as text for some sort of visual effect (making numeric formatting a bogus option). To keep the numbers as text and create the effect you're looking for, I used the following procedure:
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|