Hi All,
I need some help from all of you geniuses. I'd like to utilize a macro to delete rows in a spreadsheet based on a repeating set of formats. In the table below, the macro would need to start deleting at the first empty row (2) and finish with deleting the last row "Date/Time Origination." If it makes it easier, the final row is always colored blue. Any help would be great, thanks![TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 184"]
<tbody>[TR]
[TD="class: xl65, width: 184"]May 18, 2018 5:02:02 PM EDT[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 184"]
<tbody>[TR]
[TD="width: 184"]blank[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]blank[/TD]
[/TR]
[TR]
[TD][TABLE="width: 184"]
<tbody>[TR]
[TD="class: xl65, width: 184"]Originating or Terminating CUCM End User:[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 184"]
<tbody>[TR]
[TD="class: xl65, width: 184"]Department: Sales[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 184"]
<tbody>[TR]
[TD="class: xl65, width: 184"]Outbound Calls: 22[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 184"]
<tbody>[TR]
[TD="class: xl65, width: 184"]Average Outbound Duration: 00:07:14[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 184"]
<tbody>[TR]
[TD="class: xl65, width: 184"]Total Outbound Duration: 02:39:27[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]blank[/TD]
[/TR]
[TR]
[TD][TABLE="width: 184"]
<tbody>[TR]
[TD="class: xl65, width: 184"]Call Details[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 184"]
<tbody>[TR]
[TD="class: xl65, width: 184"]Date/Time Origination[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
I need some help from all of you geniuses. I'd like to utilize a macro to delete rows in a spreadsheet based on a repeating set of formats. In the table below, the macro would need to start deleting at the first empty row (2) and finish with deleting the last row "Date/Time Origination." If it makes it easier, the final row is always colored blue. Any help would be great, thanks![TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 184"]
<tbody>[TR]
[TD="class: xl65, width: 184"]May 18, 2018 5:02:02 PM EDT[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 184"]
<tbody>[TR]
[TD="width: 184"]blank[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]blank[/TD]
[/TR]
[TR]
[TD][TABLE="width: 184"]
<tbody>[TR]
[TD="class: xl65, width: 184"]Originating or Terminating CUCM End User:[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 184"]
<tbody>[TR]
[TD="class: xl65, width: 184"]Department: Sales[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 184"]
<tbody>[TR]
[TD="class: xl65, width: 184"]Outbound Calls: 22[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 184"]
<tbody>[TR]
[TD="class: xl65, width: 184"]Average Outbound Duration: 00:07:14[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 184"]
<tbody>[TR]
[TD="class: xl65, width: 184"]Total Outbound Duration: 02:39:27[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]blank[/TD]
[/TR]
[TR]
[TD][TABLE="width: 184"]
<tbody>[TR]
[TD="class: xl65, width: 184"]Call Details[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 184"]
<tbody>[TR]
[TD="class: xl65, width: 184"]Date/Time Origination[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
Last edited: