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: 9
Default Search non-empty rows, compare text

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?

 
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
FIND / SEARCH text compare cell to string in 3rd cell nastech Excel Discussion (Misc queries) 0 October 29th 07 02:51 AM
Compare 2 text colomns and match rows depends by cell content PRONET[_2_] Excel Programming 0 July 31st 06 04:58 PM
how insert same text in empty cells in column (10000 rows) bromptongadgets Excel Worksheet Functions 1 December 11th 05 03:13 PM
delete empty rows between rows with text Paulo Baptista Excel Discussion (Misc queries) 2 February 28th 05 03:41 PM
Compare 2 rows of text and return adj value Pat DeStasio Excel Worksheet Functions 6 February 26th 05 02:51 AM


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