Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Identify an Word/Excel file without the doc/xls extension

Hi,

How can I know if a file is an Word/Excel file, when the
file does not have the doc/xls extension?

I have a folder with a lot of files and all them without
extension (xls, doc, txt, .). How can I know witch these
files are Word or Excel files?

Thanks,

Rui

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Identify an Word/Excel file without the doc/xls extension

do they really not have an extension or is the extension just not visible in
you browser window? In folder options, there is an option to not display
known extensions.

If the really don't have extensions and you know they are all either word or
excel, you could try opening each in Excel and trapping the error. If there
is an error, they are word files. If not, then excel.

--
Regards,
Tom Ogilvy

"Rui Oliveira" wrote in message
...
Hi,

How can I know if a file is an Word/Excel file, when the
file does not have the doc/xls extension?

I have a folder with a lot of files and all them without
extension (xls, doc, txt, .). How can I know witch these
files are Word or Excel files?

Thanks,

Rui



  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Identify an Word/Excel file without the doc/xls extension

In my case, all files do not have the extension.

I have a huge quantity of files in one folder. These files
have the name encrypted because they come from a document
management software.

And I need to separate all Word and Excel files.

Thanks,

Rui


-----Original Message-----
do they really not have an extension or is the extension

just not visible in
you browser window? In folder options, there is an

option to not display
known extensions.

If the really don't have extensions and you know they are

all either word or
excel, you could try opening each in Excel and trapping

the error. If there
is an error, they are word files. If not, then excel.

--
Regards,
Tom Ogilvy

"Rui Oliveira"

wrote in message
...
Hi,

How can I know if a file is an Word/Excel file, when the
file does not have the doc/xls extension?

I have a folder with a lot of files and all them without
extension (xls, doc, txt, .). How can I know witch these
files are Word or Excel files?

Thanks,

Rui



.

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
Determine Excel file version with no file extension. tjlumpkin Excel Discussion (Misc queries) 2 July 23rd 09 06:59 AM
excel file extension Mr Lost Excel Discussion (Misc queries) 1 April 26th 07 09:01 AM
Identify an Word/Excel file without the doc/xls extension Rui Oliveira Excel Programming 0 January 15th 04 04:57 PM
Identify an Word/Excel file without the doc/xls extension Rui Oliveira Excel Programming 0 January 15th 04 04:56 PM
Excel File Extension Randy[_13_] Excel Programming 5 December 4th 03 01:51 AM


All times are GMT +1. The time now is 01:48 AM.

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

About Us

"It's about Microsoft Excel"