Hello,
could me somebody help with macro which will add new rows according some cell. For example:
[TABLE="width: 514"]
<colgroup><col><col><col span="3"><col><col></colgroup><tbody>[TR]
[TD]
A
DSH09306[/TD]
[TD]
B
1002444978[/TD]
[TD]
C
40[/TD]
[TD]
D
499[/TD]
[TD="align: right"]
E6:33[/TD]
[TD] F[/TD]
[TD] G[/TD]
[/TR]
[TR]
[TD]ZSH09325[/TD]
[TD]1002445429[/TD]
[TD]40[/TD]
[TD]1 540[/TD]
[TD="align: right"]9:45[/TD]
[TD]Pres[/TD]
[TD]-[/TD]
[/TR]
[TR]
[TD]DBS01135[/TD]
[TD]1002444826[/TD]
[TD]40[/TD]
[TD]1000[/TD]
[TD="align: right"]10:41[/TD]
[TD]Pres[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]DBS01136[/TD]
[TD]1002444827[/TD]
[TD]40[/TD]
[TD]1000[/TD]
[TD="align: right"]11:50[/TD]
[TD]Pres[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]DBS01136[/TD]
[TD]1002444978[/TD]
[TD]40[/TD]
[TD]1 000[/TD]
[TD="align: right"]12:57[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]DSH09335[/TD]
[TD]1002444983[/TD]
[TD]40[/TD]
[TD]2 666[/TD]
[TD="align: right"]16:01[/TD]
[TD]Pres[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]DSH09305[/TD]
[TD]1002444977[/TD]
[TD]40[/TD]
[TD]1 499[/TD]
[TD="align: right"]17:41[/TD]
[TD]Pres[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]DSH09306[/TD]
[TD]1002444978[/TD]
[TD]40[/TD]
[TD]1 000[/TD]
[TD="align: right"]18:48[/TD]
[TD]Pres[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I would like to add row if in column F will be (Pres) and in add row will be copy previous row.
Thank you
could me somebody help with macro which will add new rows according some cell. For example:
[TABLE="width: 514"]
<colgroup><col><col><col span="3"><col><col></colgroup><tbody>[TR]
[TD]
A
DSH09306[/TD]
[TD]
B
1002444978[/TD]
[TD]
C
40[/TD]
[TD]
D
499[/TD]
[TD="align: right"]
E
[TD] F[/TD]
[TD] G[/TD]
[/TR]
[TR]
[TD]ZSH09325[/TD]
[TD]1002445429[/TD]
[TD]40[/TD]
[TD]1 540[/TD]
[TD="align: right"]9:45[/TD]
[TD]Pres[/TD]
[TD]-[/TD]
[/TR]
[TR]
[TD]DBS01135[/TD]
[TD]1002444826[/TD]
[TD]40[/TD]
[TD]1000[/TD]
[TD="align: right"]10:41[/TD]
[TD]Pres[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]DBS01136[/TD]
[TD]1002444827[/TD]
[TD]40[/TD]
[TD]1000[/TD]
[TD="align: right"]11:50[/TD]
[TD]Pres[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]DBS01136[/TD]
[TD]1002444978[/TD]
[TD]40[/TD]
[TD]1 000[/TD]
[TD="align: right"]12:57[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]DSH09335[/TD]
[TD]1002444983[/TD]
[TD]40[/TD]
[TD]2 666[/TD]
[TD="align: right"]16:01[/TD]
[TD]Pres[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]DSH09305[/TD]
[TD]1002444977[/TD]
[TD]40[/TD]
[TD]1 499[/TD]
[TD="align: right"]17:41[/TD]
[TD]Pres[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]DSH09306[/TD]
[TD]1002444978[/TD]
[TD]40[/TD]
[TD]1 000[/TD]
[TD="align: right"]18:48[/TD]
[TD]Pres[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I would like to add row if in column F will be (Pres) and in add row will be copy previous row.
Thank you