PC Review


Reply
Thread Tools Rate Thread

How To Get Excel To Stop Auto-Formatting my Column Data Types

 
 
kmccrack@gmail.com
Guest
Posts: n/a
 
      14th Mar 2006
Hi:

I'm using Excel 2003. Anyone know how to get it to stop automatically
choosing a data type for my columns? Some of its automatic features
are nice but its auto data type sometimes gets in the way. Example, I
run a program which exports data to Excel. The data contains fractions
such as 5/6 and 6/6. When I open the newly-created Excel file, Excel
converts those fractions to dates such as May 6 and June 6. If I could
get to the worksheet ahead of time, I would format the column as text.
But it's too late by the time I look at the worksheet and converting to
text after Excel converts my fraction to a date results in just the
serial date entry.

Anyone know how to shut off the auto column data type feature?

Thanks!
Kevin

 
Reply With Quote
 
 
 
 
Nick Hodge
Guest
Posts: n/a
 
      14th Mar 2006
Kevin

You can't realy switch it off. You are right about pre-formatting, but that
obviously doesn't work for you. You could put a single apostrophe (') in
front of the data before importing. If this import is a csv file format,
try taking off the extension and then opening via file open in Excel.

This will invoke the text import wizard and you can select to mark the
column as data in the wizard. If this is repetitive, you can record a macro
to run it each time

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
(E-Mail Removed)HIS


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi:
>
> I'm using Excel 2003. Anyone know how to get it to stop automatically
> choosing a data type for my columns? Some of its automatic features
> are nice but its auto data type sometimes gets in the way. Example, I
> run a program which exports data to Excel. The data contains fractions
> such as 5/6 and 6/6. When I open the newly-created Excel file, Excel
> converts those fractions to dates such as May 6 and June 6. If I could
> get to the worksheet ahead of time, I would format the column as text.
> But it's too late by the time I look at the worksheet and converting to
> text after Excel converts my fraction to a date results in just the
> serial date entry.
>
> Anyone know how to shut off the auto column data type feature?
>
> Thanks!
> Kevin
>



 
Reply With Quote
 
Harlan Grove
Guest
Posts: n/a
 
      14th Mar 2006
Nick Hodge wrote...
>You can't realy switch it off. You are right about pre-formatting, but that
>obviously doesn't work for you. You could put a single apostrophe (') in
>front of the data before importing. If this import is a csv file format,
>try taking off the extension and then opening via file open in Excel.
>
>This will invoke the text import wizard and you can select to mark the
>column as data in the wizard. If this is repetitive, you can record a macro
>to run it each time

....

For CSV files, another alternative would be using Data > Import
External Data > Import Data, which will launch the text import wizard
just after the user selects a CSV file. However, this would import the
file *into* the active workbook rather than opening the CSV file as a
separate workbook.

 
Reply With Quote
 
Nick Hodge
Guest
Posts: n/a
 
      14th Mar 2006
Harlan

It amazing really, I use that feature every day, but never consider it for
text/csv files etc, although many times data in the same workbook is
desireable. I only use that for 'real' databases, Access (Said quitely in
case Aaron comes back), SQL server and iSeries Client Access...strange, must
try harder

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
(E-Mail Removed)HIS


"Harlan Grove" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Nick Hodge wrote...
>>You can't realy switch it off. You are right about pre-formatting, but
>>that
>>obviously doesn't work for you. You could put a single apostrophe (') in
>>front of the data before importing. If this import is a csv file format,
>>try taking off the extension and then opening via file open in Excel.
>>
>>This will invoke the text import wizard and you can select to mark the
>>column as data in the wizard. If this is repetitive, you can record a
>>macro
>>to run it each time

> ...
>
> For CSV files, another alternative would be using Data > Import
> External Data > Import Data, which will launch the text import wizard
> just after the user selects a CSV file. However, this would import the
> file *into* the active workbook rather than opening the CSV file as a
> separate workbook.
>



 
Reply With Quote
 
k-man
Guest
Posts: n/a
 
      15th Mar 2006

> Nick Hodge wrote...
> >You can't realy switch it off. You are right about pre-formatting, but
> >that obviously doesn't work for you. You could put a single apostrophe
> >(') in front of the data before importing. If this import is a csv file
> >format, try taking off the extension and then opening via file open in
> >Excel.

>
> >This will invoke the text import wizard and you can select to mark the
> >column as data in the wizard. If this is repetitive, you can record a
> >macro to run it each time

>
>
>
> ...
>
> For CSV files, another alternative would be using Data > Import
> External Data > Import Data, which will launch the text import wizard just
> after the user selects a CSV file. However, this would import the file
> *into* the active workbook rather than opening the CSV file as a separate
> workbook.
>
>


Ahhhhh, the Import Wizard!!! Yes, that's it! Some control at last.
Like with Nick, I use the Wizard for stuff like Access. I guess since
Excel just automatically opened CSV files I never considered that I
would be able to load them manually. Nice.

Thanks Harlan and Nick!

Kevin

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop Excel from Formatting Copied Data from Outlook Dan Holt Microsoft Excel Misc 1 9th Oct 2008 06:29 PM
Formatting different zip code types within a column =?Utf-8?B?cHJpem0=?= Microsoft Excel Misc 4 30th May 2007 03:45 PM
how to stop excel from auto formatting whole number to decimal % =?Utf-8?B?c2Ftbw==?= Microsoft Excel New Users 2 1st Feb 2007 12:32 AM
How do I get Excel to stop auto-formatting? =?Utf-8?B?dG9wc3F1YXJr?= Microsoft Excel Misc 2 31st Mar 2006 02:26 PM
How do I stop Excel auto formatting the text 3-4 as 04 Apr? =?Utf-8?B?YWh1Z2hm?= Microsoft Excel Misc 3 16th Oct 2005 11:58 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:15 PM.