Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
As part of a VBA Sub I need to assign an array to the sheet.
The array is declared like this: Public testArray() Sometimes this array holds the text: 7E043 Now the trouble is to avoid this being displayed in the sheet as 7.00E+43 Even when I apply the text format to the sheet (by doing range.NumberFormat = "@") before assigning the array it still happens. One solution is to put single quotes before the text, but that has some drawbacks. The other solution is to declare the array as string, but that has even more drawbacks. What would be the solution to this? Thanks for any advice. RBS |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Trouble With Text Input | Excel Discussion (Misc queries) | |||
trouble with text lookup ... help please | Excel Discussion (Misc queries) | |||
Trouble with hyhens within text when using LOOKUP | New Users to Excel | |||
I have had trouble with textbox text to worksheet | Excel Discussion (Misc queries) | |||
TROUBLE DISPLAYING CUSTOM TOOLBARS | Excel Discussion (Misc queries) |