LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 140
Default getting data from all files from a folder.

Thanks. I'll try that and get back here if get stucked...
Best wishes
J_J

"Tom Ogilvy" wrote in message
...
if not isempty(Range("A18")) and not isempty(Range("C6")) then

--
Regards,
Tom Ogilvy


"J_J" wrote in message
...
Thanks Tom,
OK but let me start from the very beginning.
how do I add the the two "conditions" into my macro?. (If data in A18 and

C6
is there?)
J_J



"Tom Ogilvy" wrote in message
...
Just have your macro construct and write the formulas you need.

You can identify the files in a folder using the DIR command. See the

vba
help for a code sample.
--
regards,
Tom Ogilvy


"J_J" wrote:

Hi,
I am using a formula such as
=VLOOKUP(A18;'C:[NF1.xls]Sheet1'!$B$15:$F$41;3;FALSE)*((AND(C6='[Not
Fi?leri.xls]Sheet1'!$F$8)))
to retrieve data from an excel file to my main working excel file. The
referance data are in A18 and C6. The data in A18 is always the same

but
the
data in C6 will differ for the range C6:Z6.
I need to generelize this process, getting data from all files from
within a
folder (and retrieving data from a range of columns) via a macro

process.
Can you suggest a stucture for it?
p.s.: I can be more spesific if asked...
TIA

J_J











 
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
Summarizing the data from all the files in a folder Raj Excel Discussion (Misc queries) 5 January 19th 07 01:56 AM
Open many *.tsv files in folder and import the data into Excel SunRace Excel Programming 1 March 16th 06 10:40 PM
how can I specific a folder with wildcard criteria and excel will import all the correct files in that folder? Raven Excel Discussion (Misc queries) 1 January 24th 06 03:28 PM
how can I specific a folder with wildcard criteria and excel will import all the correct files in that folder? Raven[_2_] Excel Programming 1 January 24th 06 04:23 AM
Copy same data from all files in folder BENNY Excel Programming 1 June 18th 04 10:52 PM


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