How to split cell after merge

Emily

Active Member
Joined
Aug 28, 2002
Messages
304
I have 28 columns from D9 to AE9 to hold day value. Suppose D9 is 29 Dec 2002 and G9 is 1 Jan 2003. I use VBA to merge D8 to F8 and Merge G8 to AE8 and place "Dec" and "Jan" in merged cells respectively.

Now I want two merged cells resumed to 28 cells when the date is changed.

[After Posted]
I found it was a wrong idea to place "Dec" and "Jan" in the middle using merged cell. I should use xlCenterAcrossSelection instead.

Any way I want to know how to split the cell after merged.

Any suggestion
Thanks
This message was edited by Emily on 2002-10-25 08:11
 

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.
From Excel you can use Format|Cells|Alignment and uncheck the 'merged cells' tick box when you have the cell selected.

With VBA you would include in your macro (assuming the cell is selected)

With Selection
.MergeCells = False
End With
 
Upvote 0

Forum statistics

Threads
1,214,978
Messages
6,122,547
Members
449,089
Latest member
davidcom

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