Re: Scientific Notation in Text Cell after Fill
From: PegL (anonymous_at_discussions.microsoft.com)
Date: 03/04/04
- Next message: Mark Ambrose: "Tab key doesn't move cell by cell"
- Previous message: PegL: "Re: linking sheets"
- In reply to: Dennis: "Scientific Notation in Text Cell after Fill"
- Next in thread: anonymous_at_discussions.microsoft.com: "Re: Scientific Notation in Text Cell after Fill"
- Reply: anonymous_at_discussions.microsoft.com: "Re: Scientific Notation in Text Cell after Fill"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 4 Mar 2004 05:38:04 -0800
Add a line above the one you have that says
myCell.NumberFormat="@"
I have XP, but I believe that will also work in 97.
>-----Original Message-----
>Using Office 97
>
>After using in a Sub Routine:
>
> myCell.FormulaR1C1 = myCell.Offset(-1, 0).FormulaR1C1
>
>Cells with 10+ numeric characters are displayed
>with Scientific Notation even though the Cell Format
>is "Text" which is the format that I want in this case.
>
>In Excel, if I select the cell AND click in the Formula
Box
>then the display of the cell changes instantly to a
normal
>text display, i.e., left aligned with no scientific
>notation.
>
>I did attempt to record a macro and used the code by
>placing it in my Sub Routine but still Scientific
Notation.
>
>In VBA, what can I do to properly display a "text" cell?
>
>TIA Dennis
>
>.
>
- Next message: Mark Ambrose: "Tab key doesn't move cell by cell"
- Previous message: PegL: "Re: linking sheets"
- In reply to: Dennis: "Scientific Notation in Text Cell after Fill"
- Next in thread: anonymous_at_discussions.microsoft.com: "Re: Scientific Notation in Text Cell after Fill"
- Reply: anonymous_at_discussions.microsoft.com: "Re: Scientific Notation in Text Cell after Fill"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|