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: 6
Default Capture data in one 'destination' file from varied 'source' file stored in one single folder.

Dear all,
This would be my first encounter with people - geniuses in excel
programming. I have 1% knowledge in visual basic, specifically in
excel.

Help req for the following:
There is one destination file named Sales Tracker (EXCEL FILE)
There are 'n' no of source file, for e.g. Company XYZ, Company ABC,
Company PQR, Company XXX (EXCEL FILES)

Task is to capture data from source file {Company XYZ , Company ABC,
Company PQR, Company XXX (EXCEL FILES)} - Range ("C6") sales amt along
with the name of the company appearing in range ("C2") and transpose it
to destination file Sales Tracker.

Sample: Source File 'Xyz file'
A B C
1
2 XYZ
3
4
5
6 100

Sample: Destination File 'Sales Tracker
A B C
Name Sales
1 XYZ 100
2 ABC 200
3 PQR 250
4 XXX 30

The way automation req is:
Destination file shall always be open .
1} Once we show a location of folder where all source files are stored.
It should count the no of files stored in it and a loop that many no of
times, it should be devised in such a manner that it opens a source
file, copies from the currently opened source file and pastes data in
destination file and closes the source file. This, loop should
continues till all the files present in folder are tracked in
destination file Sales tracker.

It has been a tedious task for me.
Request for help....

Thnx ^ n

Smita :)

 
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
delete info from source file w/out changing the destination file TB New Users to Excel 0 May 26th 08 06:26 PM
Retaining cell reference in destination, when sorting source file Mr Reorg Excel Worksheet Functions 3 April 13th 08 05:11 PM
How to update destination file with source files closed? Alex Costache Excel Discussion (Misc queries) 2 August 1st 06 10:08 AM
How to capture file name in a folder? Gregg[_4_] Excel Programming 4 August 2nd 05 06:11 AM
Automatic update of links in destination file when source file mo. Brucgil Excel Discussion (Misc queries) 0 December 2nd 04 04:07 PM


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