Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / December 2007

Tip: Looking for answers? Try searching our database.

Numeric Format

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Daniel - 10 Dec 2007 15:39 GMT
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
JLGWhiz - 10 Dec 2007 15:55 GMT
Format>Cells>Scientific

> I am writing a text file with numbers which I would like in E16.9 fortran
> format, example:
[quoted text clipped - 9 lines]
> thanks
> Dan
JLGWhiz - 10 Dec 2007 15:58 GMT
For VBA:  MyRange.NumberFormat = "Scientific"

> I am writing a text file with numbers which I would like in E16.9 fortran
> format, example:
[quoted text clipped - 9 lines]
> thanks
> Dan
Daniel - 10 Dec 2007 16:13 GMT
thanks guys but it returns numbers with an additional character due to the -
sign

> For VBA:  MyRange.NumberFormat = "Scientific"
>
[quoted text clipped - 11 lines]
> > thanks
> > Dan
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.