I have a spreadsheet with more than 600 columns. Unfortunately several of the headers are identical.
I would like to rename these headers so that they become unique.
Lets say that part of the headers looks like this:
[TABLE="width: 768"]
<tbody>[TR]
[TD="width: 64"]a[/TD]
[TD="width: 64"]b[/TD]
[TD="width: 64"]c[/TD]
[TD="width: 64"]d[/TD]
[TD="width: 64"]d[/TD]
[TD="width: 64"]d[/TD]
[TD="width: 64"]d[/TD]
[TD="width: 64"]e[/TD]
[TD="width: 64"]f[/TD]
[TD="width: 64"]f[/TD]
[TD="width: 64"]f[/TD]
[TD="width: 64"]f
[/TD]
[/TR]
</tbody>[/TABLE]
I would have liked to rename this so that they read:
[TABLE="width: 768"]
<tbody>[TR]
[TD="width: 64"]a[/TD]
[TD="width: 64"]b[/TD]
[TD="width: 64"]c[/TD]
[TD="width: 64"]d-1[/TD]
[TD="width: 64"]d-2[/TD]
[TD="width: 64"]d-3[/TD]
[TD="width: 64"]d-4[/TD]
[TD="width: 64"]e[/TD]
[TD="width: 64"]f-1[/TD]
[TD="width: 64"]f-2[/TD]
[TD="width: 64"]f-3[/TD]
[TD="width: 64"]f-4[/TD]
[/TR]
</tbody>[/TABLE]
How can I do this with a macro?
I would like to rename these headers so that they become unique.
Lets say that part of the headers looks like this:
[TABLE="width: 768"]
<tbody>[TR]
[TD="width: 64"]a[/TD]
[TD="width: 64"]b[/TD]
[TD="width: 64"]c[/TD]
[TD="width: 64"]d[/TD]
[TD="width: 64"]d[/TD]
[TD="width: 64"]d[/TD]
[TD="width: 64"]d[/TD]
[TD="width: 64"]e[/TD]
[TD="width: 64"]f[/TD]
[TD="width: 64"]f[/TD]
[TD="width: 64"]f[/TD]
[TD="width: 64"]f
[/TD]
[/TR]
</tbody>[/TABLE]
I would have liked to rename this so that they read:
[TABLE="width: 768"]
<tbody>[TR]
[TD="width: 64"]a[/TD]
[TD="width: 64"]b[/TD]
[TD="width: 64"]c[/TD]
[TD="width: 64"]d-1[/TD]
[TD="width: 64"]d-2[/TD]
[TD="width: 64"]d-3[/TD]
[TD="width: 64"]d-4[/TD]
[TD="width: 64"]e[/TD]
[TD="width: 64"]f-1[/TD]
[TD="width: 64"]f-2[/TD]
[TD="width: 64"]f-3[/TD]
[TD="width: 64"]f-4[/TD]
[/TR]
</tbody>[/TABLE]
How can I do this with a macro?