Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Vlookup, GetDirectories Question

For every directory in C:\temp\ I need to look in the directory and open up
Temp1.xls. Then I'll have to do a vlookup on each file and return the
results to a new spreadsheet. The directories I'm looking in are all dates
and I'm compiling the results by date, into one spreadsheet. Does anyone
have any ideas on how I can look in each directory and open Temp.xls? I'm
using visual studio by the way, but If you have VBA knowledge this will be
helpful as well. I have this so far:

Dim s as String
For each s in System.IO.Directory.GetDirectories("C:\temp\")
'open Temp.xls
'do vlookup
next s

Does this make sense? Thanks in advance!


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
vlookup question SteveDB1 Excel Worksheet Functions 2 September 27th 07 07:09 PM
VLOOKUP question ssciarrino Excel Programming 3 March 12th 07 07:43 PM
maybe a vlookup question arcticale Excel Worksheet Functions 4 June 21st 06 08:37 PM
VLOOKUP question Bri[_3_] Excel Programming 0 March 13th 06 06:35 PM
Vlookup question? G Lam[_2_] Excel Programming 1 November 12th 04 03:51 AM


All times are GMT +1. The time now is 12:47 PM.

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

About Us

"It's about Microsoft Excel"