Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default opening extensionless text files

Hi,

I often need to import text files from another application in comma or
tab delimited format. These are output from the other application as
an extensionless file. When I try to open these in Excel, I get the
error:

"The file you are trying to open, 'filename', is in a different format
than specified by the file extension. Verify that the file is not
corrupted and is from a trusted source before opening the file. Do you
want to open the file now?"

If I hit yes it loads fine. It's a minor annoyance, but is there any
way to get Excel to recognize by default that extensionless files are
text files and when appropriate, automatically detect if they are
column or tab separated formats? I can't recall offhand which it
likes, but for some txt files it will automatically separate the
columns, but for others it will import everything into 1 column then I
need to run the text to columns command as an extra step.

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default opening extensionless text files

Instead if using:

File Open

use:

Data Import External Data Import Data...
--
Gary''s Student - gsnu2007j


"T Magritte" wrote:

Hi,

I often need to import text files from another application in comma or
tab delimited format. These are output from the other application as
an extensionless file. When I try to open these in Excel, I get the
error:

"The file you are trying to open, 'filename', is in a different format
than specified by the file extension. Verify that the file is not
corrupted and is from a trusted source before opening the file. Do you
want to open the file now?"

If I hit yes it loads fine. It's a minor annoyance, but is there any
way to get Excel to recognize by default that extensionless files are
text files and when appropriate, automatically detect if they are
column or tab separated formats? I can't recall offhand which it
likes, but for some txt files it will automatically separate the
columns, but for others it will import everything into 1 column then I
need to run the text to columns command as an extra step.

Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default opening extensionless text files

I'm using Excel 2007 and don't see that specific command. I can open a
file as a text file but then I need to select text file and put '*' in
the filename box before I can pick the file, and I still get the same
error message.

I can also start with a blank spreadsheet then use the Data/Get
External Data/From Text command which also won't give me the error.

I prefer to just double click on the filename from Windows Explorer,
though, then select excel.

Thanks.

On Jul 23, 2:34*pm, Gary''s Student
wrote:
Instead if using:

File Open

use:

Data Import External Data Import Data...
--
Gary''s Student - gsnu2007j

"T Magritte" wrote:
Hi,


I often need to import text files from another application in comma or
tab delimited format. These are output from the other application as
an extensionless file. When I try to open these in Excel, I get the
error:


"The file you are trying to open, 'filename', is in a different format
than specified by the file extension. Verify that the file is not
corrupted and is from a trusted source before opening the file. Do you
want to open the file now?"


If I hit yes it loads fine. It's a minor annoyance, but is there any
way to get Excel to recognize by default that extensionless files are
text files and when appropriate, automatically detect if they are
column or tab separated formats? I can't recall offhand which it
likes, but for some txt files it will automatically separate the
columns, but for others it will import everything into 1 column then I
need to run the text to columns command as an extra step.


Thanks!


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
show most recent files first when opening excel files Anne` Excel Discussion (Misc queries) 5 January 23rd 08 01:54 AM
Opening Quattro Pro for Windows files (*.WB1 Files) using Excel 20 PoundMutt Excel Discussion (Misc queries) 1 June 20th 07 03:50 AM
Additional rows added to spreadsheet when opening text files kidofseph Excel Discussion (Misc queries) 0 April 25th 07 09:54 PM
Opening large text files freekrill Excel Discussion (Misc queries) 6 September 7th 05 04:44 AM
opening text files that have more rows than 65536 rondajoy Excel Worksheet Functions 3 June 8th 05 03:41 PM


All times are GMT +1. The time now is 09:05 PM.

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

About Us

"It's about Microsoft Excel"