Merge cells convert to normal

makinmomb

Active Member
Joined
Dec 23, 2013
Messages
401
I have following data

[TABLE="width: 1305"]
<colgroup><col><col><col span="6"><col></colgroup><tbody>[TR]
[TD="colspan: 9"]TRANSROAD - 01/06/18[/TD]
[/TR]
[TR]
[/TR]
[TR]
[TD]JOB NO: [/TD]
[TD]PORT CHARGES [/TD]
[TD] USD [/TD]
[TD] APPROVED [/TD]
[TD]DIFF[/TD]
[TD] TSHS [/TD]
[TD] APPROVED [/TD]
[TD]DIFF[/TD]
[TD]REMARKS [/TD]
[/TR]
[TR]
[TD]TR-0418[/TD]
[TD]KALONJI - P/C [/TD]
[TD] 76[/TD]
[TD] 76[/TD]
[TD] - [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] - [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]TR-0460[/TD]
[TD]FALAY - P/C [/TD]
[TD] 117[/TD]
[TD] 117[/TD]
[TD] - [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] - [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]TR-0454[/TD]
[TD]PEARL - P/C [/TD]
[TD] 117[/TD]
[TD] 117[/TD]
[TD] - [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] - [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]TR-0377[/TD]
[TD]LUNGA - P/C [/TD]
[TD] 117[/TD]
[TD] 117[/TD]
[TD] - [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] - [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]TR-0184[/TD]
[TD]OM METAL - CHEMICAL - REM+STOR [/TD]
[TD] 384[/TD]
[TD] 384[/TD]
[TD] - [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] - [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
I want the macro to swim into header that have merged cells and bring that data to a1 , so that i can do some data
pull since the merged cells is bringing problems for data pulling
 
Upvote 0
mark858 thank you it did exactly what i needed , cant imagine how long this would have been without a macro
 
Upvote 0
cant imagine how long this would have been without a macro

2 seconds, you click the square where the column letters and row numbers meet and click the merge and center icon :rofl:

Anyway happy it worked for you
 
Upvote 0

Forum statistics

Threads
1,223,901
Messages
6,175,277
Members
452,629
Latest member
SahilPolekar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top