Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Setup / May 2006

Tip: Looking for answers? Try searching our database.

Excel auto formats cells with numbers - Can it be disabled?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jeromey - 20 May 2006 00:40 GMT
I am having a problem within Excel, all versions.

A piece of software I use daily uses CSV files for inventory management for
Books, CD's and DVD's.

The problem happens when you enter in an ISBN or UPC that is all numbers and
starts with a 0. Excel will see all numbers and automatically format the cell
as a number, thus dropping the leading 0. I know you can put a dash, pipe
character or whatever to stop this. I also know you can right click on cells
and change formatting.

But the problem with both of these are 1: CSV's do not save formatting, so
the 0 will be dropped once the file is opened again. 2: The program I use
will not allow a hyphen or Pipe character in the UPC or ISBN's.

So, essentially, what I need is an option to have Excel to *Never*
automatically format cells depending on their context.

I have gone through and disabled *Every* auto formatting and such rules I
could find in every corner of the options. I have also used the Import text
wizard to stop it and it doesn't work.

Am I right? Is there no way to stop Excel from formatting cells automatically?

Thanks
David McRitchie - 21 May 2006 01:17 GMT
Hi Jeromey,
You could add a prefix to the code, then after the CSV  has been
brought into Excel  go a global change on the column to remove the
prefix.
---
HTH,
David McRitchie, Microsoft MVP - Excel    [site changed  Nov. 2001]
My Excel Pages:  http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page:        http://www.mvps.org/dmcritchie/excel/search.htm

> I am having a problem within Excel, all versions.
>
[quoted text clipped - 21 lines]
>
> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.