G
Gijs Breedveld
Hi, I am trying to reduce the size om my large file. Therefor I want to use a
macro to put values instead of formulas into a matrix.
The datafile is pulled from a database and looks as follows:
Col A : "Date in"
Col B : "Person"
Col C : "Date start"
Col D: "Date end"
I want to calculate
Col E: "week start"
Col D: "week end"
Col F: "Week start" - "week in"
The amount of lines increases each week by an unknown amount. Therefor the
code needs to look how many lines are added. Also the "date start" and "date
end" do change for existing records. Therefor all the lines need to be
recalculated every time.
I have been searching the files and putting pieces of code together but
nothing gave the wanted end result.
I hope someone can help me.
Best regards,
Gijs Breedveld
macro to put values instead of formulas into a matrix.
The datafile is pulled from a database and looks as follows:
Col A : "Date in"
Col B : "Person"
Col C : "Date start"
Col D: "Date end"
I want to calculate
Col E: "week start"
Col D: "week end"
Col F: "Week start" - "week in"
The amount of lines increases each week by an unknown amount. Therefor the
code needs to look how many lines are added. Also the "date start" and "date
end" do change for existing records. Therefor all the lines need to be
recalculated every time.
I have been searching the files and putting pieces of code together but
nothing gave the wanted end result.
I hope someone can help me.
Best regards,
Gijs Breedveld