Hi,
I would like to automate the entire process, which unfortunately takes some time when manually copying data. I have two files:
1. "Daily Production Plan" from which data will be copied
2. "Seq plan" to which the data will be copied
Sequence plan BM01 in file "Plan seq" = column "A" and value A01 in file "Daily Production Plan"
Sequence plan BM02 = column "A" and value A02
e.t.c.
The problem is to copy the values from the columns "C", "D" and depending on the day "AE", "AF" etc. from the "Daily Production Plan" file to the columns "B", "C" and "F" respectively of the file "Plan seq"
(note - the first item from the next day should also be copied (ie the item from 10.08 is pasted into lines from 09.08) but only columns "C" and "D" from the "Daily Production Plan" file to columns "B" and "C" ). And so for the following days and the rest of the tabs. (marked in yellow in the example file).
Note: If there is no comment in the "Daily Production Plan" file in the "J" column, then in the "Plan seq" file in the "H" column for a specific WO value, enter the same as in the "F" column. (marked in green in the example file)
Problem: There are 10 lines for each day, if there are too few lines in the "Plan seq" file for each day, can you write the macro so that it adds another line and then copies the data?
Both files will be in the same folder, the names can be as above (if necessary)
In the "Plan seq" file I completed the first tab with the final effect.
Thank you in advance for your help
Bookmarks