ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Range text vs Range value (https://www.excelbanter.com/excel-programming/346872-range-text-vs-range-value.html)

[email protected]

Range text vs Range value
 
I have an excel file that is filled with zero padded numbers. If I
pull this info from the cell level with the Text method, (eg.
cell('C1').Text) I get '0002124'.

What i want however is a range (eg. range('A2', xlLastCell)). This
gives me values like 2124.0 instead of '0002124'. I know that
range('A2', xlLastCell).Text doesnt work, is there anything that does?

TIA
paqo



All times are GMT +1. The time now is 05:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com