LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Determine file type

I have written a rather large macro that takes data from three other
sites and, along with our own data, compile it into a massive table.
The macro works fine. (It cuts the job from about three days, down to
about 3 hours.)

But the problem I'm having is that the people who submit the report
can't send it to me in the same format in any given month. (I know, I
should be able to simply tell them what I want, but I'm not getting any
cooperation from their managers.) I have to sit down and either tweak
the data or the macro so the data can be processed. It has the right
information, but columns may be out of order, include additional
information I don't need. And, I might get a Excel file, or a Word
file or a text file.

So, I've decided to try and write a Data Cleaner to set the data in the
order the Macro needs. So my question is, can I differenciate between
Excel and Word files. Is there something in the header that I can use
to load the correct object?

Thanks in advance!

 
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 if XL file opened from Outlook or a saved file quartz[_2_] Excel Programming 1 September 16th 05 09:50 PM
Can I determine the active selection's type? MartinS Excel Programming 4 January 13th 05 04:15 PM
Determine data type for Pivot Field Mike Dudash Excel Programming 0 January 22nd 04 09:20 PM
Determine the type of currency in a cell Anders[_6_] Excel Programming 2 January 11th 04 02:39 PM
Determine File Type Brent[_5_] Excel Programming 2 January 6th 04 06:43 AM


All times are GMT +1. The time now is 07:01 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"