I was trying to simplify with above. Sorry for the confusion. Here are images of the two tables.
<colgroup><col style="mso-width-source:userset;mso-width-alt:3770; width:81pt" width="108" span="4"> <col style="mso-width-source:userset;mso-width-alt:3258; width:70pt" width="93" span="2"> <col style="mso-width-source:userset;mso-width-alt:8308;width:179pt" width="238"> <col style="mso-width-source:userset;mso-width-alt:3258;width:70pt" width="93"> <col style="mso-width-source:userset;mso-width-alt:4538; width:98pt" width="130" span="2"> </colgroup><tbody>
[TD="class: xl85, width: 1209, colspan: 10"]Travel History[/TD]
[TD="class: xl66, width: 108"]Check Out Date[/TD]
[TD="class: xl66, width: 108"]Chek Out Time[/TD]
[TD="class: xl67, width: 108"]Driver[/TD]
[TD="class: xl67, width: 108"]Event[/TD]
[TD="class: xl67, width: 93"]Start Mileage[/TD]
[TD="class: xl68, width: 93"]Stop Mileage[/TD]
[TD="class: xl68, width: 238"]Total Mileage[/TD]
[TD="class: xl68, width: 93"]Check in Date[/TD]
[TD="class: xl67, width: 130"]Check in Time[/TD]
[TD="class: xl73, width: 130"]Total Time Used [/TD]
[TD="class: xl70, align: right"]8/7/2018[/TD]
[TD="class: xl71, align: right"]15:58[/TD]
[TD="class: xl65"]Sampuel, Jose[/TD]
[TD="class: xl65"]Maintenance[/TD]
[TD="class: xl75"] [/TD]
[TD="class: xl77, align: right"]103,805[/TD]
[TD="class: xl75"] [/TD]
[TD="class: xl69, align: right"]8/9/2018[/TD]
[TD="class: xl72"] [/TD]
[TD="class: xl76, align: center"]#################[/TD]
[TD="class: xl78, align: right"]8/7/2018[/TD]
[TD="class: xl80"] [/TD]
[TD="class: xl81"] [/TD]
[TD="class: xl82"] [/TD]
[TD="class: xl79, align: right"]0[/TD]
[TD="class: xl74, align: right"]103,805[/TD]
[TD="class: xl77, align: right"]0[/TD]
[TD="class: xl83"] [/TD]
[TD="class: xl84"] [/TD]
[TD="class: xl72, align: center"]#################[/TD]
</tbody>
<colgroup><col style="mso-width-source:userset;mso-width-alt:3467; width:75pt" width="99" span="3"> <col style="mso-width-source:userset;mso-width-alt:3537;width:76pt" width="101"> <col style="mso-width-source:userset;mso-width-alt:4933;width:106pt" width="141"> </colgroup><tbody>
[TD="class: xl66, width: 99"]Last Service Date[/TD]
[TD="class: xl67, width: 99"]Service Type[/TD]
[TD="class: xl67, width: 99"]Next Service Date[/TD]
[TD="class: xl67, width: 101"]Mileage[/TD]
[TD="class: xl68, width: 141"]Service Cost[/TD]
[TD="class: xl69, align: right"]8/7/2018
[/TD]
[TD="class: xl65"]
[/TD]
[TD="class: xl65"]
[/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl70"] [/TD]
[TD="class: xl71, align: right"]8/7/2018[/TD]
[TD="class: xl72"] [/TD]
[TD="class: xl72"] [/TD]
[TD="class: xl72, align: right"]0
[/TD]
[TD="class: xl73, align: right"]0[/TD]
</tbody>
I want the service date and mileage to be copied from table one to table two any time the event column = maintenance and then I want table two to automatically add a row for the next time table one has a maintenance entry. Does that make better sense?
I didn't think I could copy and paste or I would have done it before. Again sorry for the confusion.