Changing displayed values

  • Thread starter Thread starter Jim May
  • Start date Start date
J

Jim May

After importing data in column D I have (sample):
BANK ACCT.
370965
11936133607
11936133607
11936133607
5134163722
850963060
1.01009E+12 <<< s/b 1010086655918
1.01009E+12 <<< s/b 1010086655918
11936133607

I'd like to select range D2:D50 and run Macro
that will convert only those cells that are producing
the 1.01009E+12 gibberish above s/b = actual contents

Using Selection For Each loop
how would I test for = TRUE for the 1.01009E+12's and the
like?
TIA,
 
If you're getting 11 digit account numbers displayed properly, meaning the
format is being recognized correctly by XL, just for fun, before you do
anything else, just make the column wider and see what happens!
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================

After importing data in column D I have (sample):
BANK ACCT.
370965
11936133607
11936133607
11936133607
5134163722
850963060
1.01009E+12 <<< s/b 1010086655918
1.01009E+12 <<< s/b 1010086655918
11936133607

I'd like to select range D2:D50 and run Macro
that will convert only those cells that are producing
the 1.01009E+12 gibberish above s/b = actual contents

Using Selection For Each loop
how would I test for = TRUE for the 1.01009E+12's and the
like?
TIA,
 
Sometimes, when the cell is originally formatted to General, larger numbers
will truncate to the scientific notation *before* it displays the ### signs.

If your numbers are less then 15 digits, have you tried formatting your
cells to "Number", with *no* decimal places?
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================

Tried that first, but no cigar!!
What next?
 
It's Lite up time!!
IOW .. Got the cigar, you might say..
Longing to use a VBA solution I had
forgotten to consider using the format, number
simplicity; thanks for reminding me.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top