Macro To Copy Data From Worksheet To AnotherDec 18, 2009
I have one worksheet called WEEKS.xls which lists weeks 1 to 8, week1 being columns A,B,C, week2 being D,E,F, and so on up to week 8
I have another work sheet called supplier.xls which is a worksheet imported from a database. In this worksheet I have columns A to Q. I am only interested in the data in columns C, P & Q.
I have buttons along the top in the WEEKS.xls sheet, one for eack week. On week one when the button is clicked I would like a macro that would look in folder “Supplier Stock” for the worksheet suppliers.xls and then take the data from columns C,P,Q and paste them into the WEEKS.xls in columns A,B,C. On week 2 the data will be pasted into D,E,F and so on. On the supplier.xls there is a few gaps down the sheet , like row 15 & 16 and alo 19 & 20 if possible I don’t want the gaps in the WEEKS.xls. Also on column P it is a date format I would like that pasted into the WEEKS.XLS in a dd/mm/yy format
I have added both sheets to show you what I mean