Link to home
Start Free TrialLog in
Avatar of Jeff9687
Jeff9687

asked on

Crazy Excel Quirk

Hello-- I am using Excel 2007, and when I try to paste the string "487684E40" into a cell with format set to "General," Excel is automatically assuming the "E" represents an exponent so it's "helping me out" and automatically changing the format to "Scientific" and changing "487684E40" to "4.88E+45."

How do I shut this functionality off? I need it to stay format "General" and value "487684E40" when I paste it in.

Thanks a lot!
Avatar of Steven Carnahan
Steven Carnahan
Flag of United States of America image

You can put a single quote " ' " in the cell prior to pasting.
Avatar of Jeff9687
Jeff9687

ASKER

I can't alter the data coming in... it's being pulled in from a database via sql code embedded in a VBA module I wrote, and the string is in the database as "487684E40".
ASKER CERTIFIED SOLUTION
Avatar of Steven Carnahan
Steven Carnahan
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial