A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

automatic formatting in excel



 
 
Thread Tools Display Modes
  #1  
Old September 7th, 2004, 01:57 AM
Phil Hanley
external usenet poster
 
Posts: n/a
Default automatic formatting in excel

We use account codes beginning with MAR with 4 digits following (e.g.
MAR3420) in spreadsheets and Excel automatically converts this to a date
format.

I have reformatted the cells to Text and this overcomes the problem initially.

However, these files have to be saved in .csv format for uploading into our
accounting software. The difficulty arise if the .csv file is ever opened to
make changes because Excel reformats these cells to dates again which
corrupts our data.

Does anyone know of a way to switch off the automatic reformatting of cells?




  #2  
Old September 7th, 2004, 12:42 PM
Jerry W. Lewis
external usenet poster
 
Posts: n/a
Default

I don't think you can prevent Excel from being overly helpful, but there
are some other trick that might help. An alternative to preformatting
as text is to precede the account code with a single quote; that tells
Excel that what follows is text, and not to be interpreted as a date or
scientific notation. Unfortunately, Excel's .csv interpreter is not
very bright; it completely ignores (double) quotation marks around text,
and still coerces numbers or dates if possible, also it will show the
leading single quote, unlike keyboard entry in Excel. The formula
="MAR3120"
in a .csv file will be respected by Excel, but may not be accepted or
returned by your accounting program.

Perhaps the easiest way to return the data from you accounting program
use Data|Import External Data instead of File|Open. That will trigger
the Text Import Wizard which allows you to specify that account code
column is to be interpreted as text.

Jerry

Phil Hanley wrote:

We use account codes beginning with MAR with 4 digits following (e.g.
MAR3420) in spreadsheets and Excel automatically converts this to a date
format.

I have reformatted the cells to Text and this overcomes the problem initially.

However, these files have to be saved in .csv format for uploading into our
accounting software. The difficulty arise if the .csv file is ever opened to
make changes because Excel reformats these cells to dates again which
corrupts our data.

Does anyone know of a way to switch off the automatic reformatting of cells?


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting Time Field from Excel Data Copwriter Mailmerge 5 August 22nd, 2004 02:10 PM
Retaining source formatting from Excel with a mail merge in Word Drew General Discussion 2 August 18th, 2004 07:34 AM
Coverting Lotus 123 files to use with excel Muffin1947 General Discussion 6 June 20th, 2004 10:18 AM
Mail Merge with Excel losing formatting Shirley General Discussion 3 June 9th, 2004 03:09 PM
Excel 2003 - conditional formatting Frank Kabel Worksheet Functions 0 May 26th, 2004 04:53 PM


All times are GMT +1. The time now is 10:33 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.