[mso] Excel VBA

Good Afternoon Folks,

I was wondering if someone could help me with a VBA code for a task that
I am trying to perform.

I have 300 workbooks ( I didn't set these up...lol)in a single folder,
representing a supplier each, which I would like to merge into one
document.

I am only concerned about the first tab of each spreadsheet (Note the
tabs have all been conveniently labelled differently).

I am therefore looking for a code that will perform the following
routines:

1) Open first work book,
2) Go to the first tab (tabs have been labelled differently)
3) Select the first 20 rows
4) Copy these rows to an open spreadsheet (the one I am running the
macro from)
5) Close the workbook being copied from,
6) Open the next work book, and repeat steps 2 to 4, but pasting the
copied values below the previous pastings
7) Repeat this process for all 300 workbooks


I think this is about it,=20

If I have left anything out, please fire away with the questions.

Many thanks

Herbert


*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, visit the group's homepage and use the dropdown 
menu at the top.  This will allow you to unsubscribe your email address or 
change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso

To be able to share files with the group, you must join our Yahoo sister group. 
 This group will not allow for posting of emails, but will allow you to join 
and share problem files, templates, etc.:  
http://tech.groups.yahoo.com/group/MicrosoftOffice . This group is for FILE 
SHARING ONLY.

If you are using Outlook and you see a lot of unnecessary code in your email 
messages, read these instructions that explain why and how to fix it:
http://personal-computer-tutor.com/abc3/v28/greg28.htm
*************************************************************

Other related posts: