PC Review


Reply
Thread Tools Rate Thread

Detect file format (version) of Excel file

 
 
Alan
Guest
Posts: n/a
 
      28th Oct 2008
Is it possible in VBA to determine the file format (Excel 97, etc.)
of a spreadsheet without opening the file?

Thanks, Alan


 
Reply With Quote
 
 
 
 
Daniel.C
Guest
Posts: n/a
 
      28th Oct 2008
Try :
Set fso = CreateObject("scripting.filesystemobject")
Set f = fso.getfile("e:\temp\sample.xls")
MsgBox f.Type

I don't know better...
Daniel
> Is it possible in VBA to determine the file format (Excel 97, etc.)
> of a spreadsheet without opening the file?
>
> Thanks, Alan



 
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
import file so that it is a actual csv file, no excel cell version broncoburt Microsoft Excel New Users 1 21st Nov 2009 09:09 PM
Determine Excel file version with no file extension. tjlumpkin Microsoft Excel Misc 2 23rd Jul 2009 06:59 AM
QUERY: detect MS Installer or any exe file Version Number? Dhruba Bandopadhyay Windows XP General 2 8th Jul 2006 02:55 AM
QUERY: detect MS Installer or any exe file Version Number? Dhruba Bandopadhyay Windows XP Help 2 8th Jul 2006 02:55 AM
Is there anyway to export a report file to CSV file format instead of Excel file format? THANKS!!! <END> Sean Microsoft Access 6 2nd Mar 2005 01:45 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:42 AM.