Hi Raghu,
Most things seem very simple when you are familiar – A good friend of mine I had to help a lot in the school and still do in further life as he is very slow at understanding the simplest things. But he was very motivated and now is a very successful pilot flying the largest passenger machines – he is very familiar with flying machines and all that goes with it, but that’s about all he can do, Lol.. ( Even amongst his colleagues he is still known as a bit of an idiot ( but a confident Pilot I might add )
I have a large File used daily by my wife for her necessary diets. I find it so simple that it bores me to try to explain it to her. But this winter I have been trying for days to explain it to her so that she takes over it all herself.. but after days she still understands very little… I expect I will give up and try again next Winter, Lol…

I am not a professional programmer, but some I know tell me that the most difficult thing they ever have to do is understand someone else’s code. So once again , it is very good that you have persevered and got your own solution. I personally would always use a more complicated code that I undrsatand rather than a “seemingly” simpler which I do not understand. My goal is always to have a clever/ simple code which I also understand. Only sometimes I manage that, lol..

For two years I have been learning VBA programming now and I am continually surprised how many very experienced programmers use some very elegant codes which they do not understand. I find that quite worrying.. Much of the coding controlling our lives is understood by nobody. I can’t help thinking that will lead to a catastrophe one day….


_.___________-

Thanks for the further explanation.
I see now that the start point, as far as the code discussions in this thread are concerned is the running of the final code from your other Thread, http://www.excelfox.com/forum/showth...them#post10543 . That is perhaps obvious with hindsight , but it wasn’t initially.
So, just for future reference…
From Zip Foldere, “WorkDistributed 15MAR18”
running the macro which I used from the following site and you helped modify.
https://stackoverflow.com/questions/...-a-column?rq=1
The above macro also populates the column F.


WorkDistributed 15MAR18
Work Distribution
All Files there are the “Afters
File “zMaster.xlsm” would be the “Before” if the dates were removed from column F
So this was your after
Row\Col
D
E
F
G
H
1
Qty
Total
Distributed
Task1
Task2
2
22
$ 1,210.00
15. Mrz 18
3
7
$ 95.62
15. Mrz 18
4
5
$ 64.95
15. Mrz 18

Row\Col
E
F
G
H
I
44
$ 33,011.55
15. Mrz 18
45
$ 11.99
15. Mrz 18
46
$ 74,940.99
15. Mrz 18
47
48
Worksheet: OriginalData
If I delete the dates in column F then I get the before:
Row\Col
C
D
E
F
G
H
I
J
K
L
M
N
1
Price
Qty
Total
Distributed
Task1
Task2
Task3
Task4
Completed
Consolidated
Comments
Team Member
2
$ 55.00
22
$ 1,210.00
Raghu
3
$ 13.66
7
$ 95.62
John
4
$ 12.99
5
$ 64.95
Greg
5
$ 8.51
12
$ 102.12
Margaret
Worksheet: OriginalData

If in the before I run the code Sub ExportByName on the before then I get
_ the after ( but with today’s data )
Row\Col
E
F
G
H
1
Total
Distributed
Task1
Task2
2
$ 1,210.00
02.Apr.2018
3
$ 95.62
02.Apr.2018
4
$ 64.95
02.Apr.2018
Worksheet: OriginalData
¬_ In addition to the above change to the master file I get the 4 data files , Raghu , John , Greg, Margaret.
For example “Raghu.xlsx”
Row\Col
E
F
G
H
I
J
K
L
M
N
1
Total
Distributed
Task1
Task2
Task3
Task4
Completed
Consolidated
Comments
Team Member
2
$ 1,210.00
02.Apr.2018 Raghu
3
$ 447.64
02.Apr.2018 Raghu
4
$ 74,940.99
02.Apr.2018 Raghu
Worksheet: Tabelle1
This is the same as the File from Zip File, “WorkDistributed 15MAR18” you gave , but just the date, as expected is different.
Row\Col
A
B
C
D
E
F
G
H
I
J
K
L
M
N
1
S No
Item
Price
Qty
Total
Distributed
Task1
Task2
Task3
Task4
Completed
Consolidated
Comments
Team Member
2
1
ABC01
$ 55.00
22
$ 1,210.00
15. Mrz 18
Raghu
3
5
ABC05
$ 7.22
62
$ 447.64
15. Mrz 18
Raghu
4
9
ABC09
$ 741.99
101
$ 74,940.99
15. Mrz 18
Raghu
Worksheet: FromRaghu

So that is the situation finished with the Work Distribution