Re: Search non-empty rows, compare text

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



You can't have two files with the same name in a folder.
So there is no benefit to including the file path in your comparison.
You would have to check file attributes to attempt to determine
if two identically named files are not identical.
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware



"JustinP" <justin.poole@xxxxxxxxx>
wrote in message
I'm working on a data register that I want to be able to update with
new data in a folder and its subfolders. I am at the stage where it
searches the subfolders for certain types of files and puts the
information in a few rows (filename, filetype, filepath, date modified,
etc). However, at the moment it assumes a new spreadsheet as it starts
putting data in the second row.

What I need next is take the filename and filepath and compare it with
the data that is already in the spreadsheet. If it doesn't exist, find
the next blank row and put it in. The problem is that I need it to
compare two columns at on each row. As an example:

A B
FILENAME FILEPATH
1 Widget C:\temp

Let's say it came across another file called Widget but in the
C:\Windows folder. This would need to be recorded as it is not the same
file. What is the easiest way to ask:
If (inFileN & inFileP = A1 & B1) Then....
Any ideas?

.



Relevant Pages

  • Comparing multi paradox files
    ... easiest way for me to compare the database files. ... form the master list. ... Here is how I get the paradox files, each location has a master folder ...
    (microsoft.public.access.externaldata)
  • Re: Lost & Found files mystery.
    ... The older CD burning software has a limit on file length. ... I then used windiff from the 98 cd to compare the cd and d ... The folder was there but no files. ... However windows 98 could not read them from the cd due to the ...
    (microsoft.public.windowsxp.general)
  • Search non-empty rows, compare text
    ... new data in a folder and its subfolders. ... at the moment it assumes a new spreadsheet as it starts ... compare two columns at on each row. ...
    (microsoft.public.excel.programming)
  • Re: Partition and Dual Boot MkII (longish)
    ... >> So you can compare yours with that layout. ... The 98 Product Recovery CD has a root dir called WIN98_SE and four sub ... I do not have the CDSAMPLE folder. ...
    (uk.people.silversurfers)
  • Re: Name/number of Current Folder
    ... compare the EntryID of the MAPIFolder that it returns. ... Dim currentFolder As MAPIFolder ... I get the name of the Current Folder. ...
    (microsoft.public.outlook.program_vba)