First: I'm a newbie in vb.
I've been trying to combine different codes in the forum to get what I want but with no luck.
Every day I get 4-5 excel-files in a folder, the workbooks has different names every day. From each workbook I want to copy range A6:C50 from every sheet. Each workbook contains 2 sheets with various names.
I want to paste it in the open workbook in the first empty row. This workbook should also contain the macro.
The problem is that I want everything I copy from the first sheet in every workbook to be pasted into columns A:C, and from the second sheet into columns F:H. The data from the second sheet could also be pasted into another sheet. I can manage this later with another code.
I prefer to do this with the workbooks closed. (the workbooks I copy from)
It's not always there is data in every row, so if it's possible to only copy the rows that contains a value in column A, it would be great.
Greatful for all the help I can get since I'm not very good with vb.
/rog
Bookmarks