Jan
Fri Apr 30 03:17:58 CDT 2004
"newbie rick" <anonymous@discussions.microsoft.com>'s wild
thoughts were released on Thu, 29 Apr 2004 11:41:03 -0700
bearing the following fruit:
>How can I format the numbers in a column of various worksheets in excel that I am writing to with a vb6 app?
>When opening the worksheet the numbers are being changed sometimes.
>Eg. The numbers are inventory numbers. 12.345 stays the same but 02.456 changes to 2.456 and 32. 120 changes to 32.12. I would appreciate any and all help with this problem.
>Thanks newbie rick
If you want the code to do it, then record a macro.
You can format an entire column.
I've found formatting in excel to be ropey at best,
particually with dates. Excel 'helpfully' tries to apply
formatting for you.
--
Jan Hyde (MVP - Visual Basic)
Occult: A young horse. (Keith Nance)
[Abolish the TV Licence -
http://www.tvlicensing.biz/]