Lars Ole Sørensen
Member
Hi,
I have a report that i want to update every week with VBA code. The source workbook name and the destination workbook name will change every week, however the start of the workbooks names will be the same.
I am trying to copy a range from a source workbook (2017 HAVFISK UKE 12) and paste the range to a destination workbook (DB pr Uke_12_2017_Nordland H). I have tried to make a test code, but i get a error message when i try to run the code. I want to run the code when both workbooks are open in excel.
I have attached part of the source dokument and the destination document. The code is in the document "DB pr Uke_12_2017_Nordland H"
I hope someone can help me with this problem.
Kindly Regards
Lars Ole
I have a report that i want to update every week with VBA code. The source workbook name and the destination workbook name will change every week, however the start of the workbooks names will be the same.
I am trying to copy a range from a source workbook (2017 HAVFISK UKE 12) and paste the range to a destination workbook (DB pr Uke_12_2017_Nordland H). I have tried to make a test code, but i get a error message when i try to run the code. I want to run the code when both workbooks are open in excel.
I have attached part of the source dokument and the destination document. The code is in the document "DB pr Uke_12_2017_Nordland H"
I hope someone can help me with this problem.
Kindly Regards
Lars Ole