Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am writing a text file with numbers which I would like in E16.9 fortran
format, example: -4.543785477E+01 1.675241709E+00 both positive and negative have 16 characters per number (the positive includes the space instead of the - sign) how can I do this with format (mynumber, ???) is there any other way? thanks Dan |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
FormatCellsScientific
"Daniel" wrote: I am writing a text file with numbers which I would like in E16.9 fortran format, example: -4.543785477E+01 1.675241709E+00 both positive and negative have 16 characters per number (the positive includes the space instead of the - sign) how can I do this with format (mynumber, ???) is there any other way? thanks Dan |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
For VBA: MyRange.NumberFormat = "Scientific"
"Daniel" wrote: I am writing a text file with numbers which I would like in E16.9 fortran format, example: -4.543785477E+01 1.675241709E+00 both positive and negative have 16 characters per number (the positive includes the space instead of the - sign) how can I do this with format (mynumber, ???) is there any other way? thanks Dan |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
thanks guys but it returns numbers with an additional character due to the -
sign "JLGWhiz" wrote: For VBA: MyRange.NumberFormat = "Scientific" "Daniel" wrote: I am writing a text file with numbers which I would like in E16.9 fortran format, example: -4.543785477E+01 1.675241709E+00 both positive and negative have 16 characters per number (the positive includes the space instead of the - sign) how can I do this with format (mynumber, ???) is there any other way? thanks Dan |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Format .txt file contents to numeric format will not work - help! | Excel Discussion (Misc queries) | |||
Converting values which are in Numeric format to word format | Excel Discussion (Misc queries) | |||
numeric format | Excel Programming | |||
Change number (in text format) to numeric format | Excel Discussion (Misc queries) | |||
numeric format | Excel Discussion (Misc queries) |