Seeboo
08-17-2021, 01:43 AM
Hello,
I have a macro copying the data in one file from the data from the other file.
In the one version, the macro works perfectly. I wanted to use another file for a larger date range, but the macro crashes. Could someone have a look and try to explain which part of the macro I need to change in order for it to work properly?
Attached I am sending two pairs of files:
- the first pair: ((TEST) Daily Production Plan.xlsb, (TEST) Plan seq.xlsb) - macro does not work
- the second pair: (Daily Production Plan (2) .xlsb, Plan seq (2) .xlsx) - macro works properly
The macro is run by pressing the button from the "Daily Production Plan" file, previously you have to change the path to the "Plan seq" file in the vba code.
I have a macro copying the data in one file from the data from the other file.
In the one version, the macro works perfectly. I wanted to use another file for a larger date range, but the macro crashes. Could someone have a look and try to explain which part of the macro I need to change in order for it to work properly?
Attached I am sending two pairs of files:
- the first pair: ((TEST) Daily Production Plan.xlsb, (TEST) Plan seq.xlsb) - macro does not work
- the second pair: (Daily Production Plan (2) .xlsb, Plan seq (2) .xlsx) - macro works properly
The macro is run by pressing the button from the "Daily Production Plan" file, previously you have to change the path to the "Plan seq" file in the vba code.