VBA or Conditional Formatting Help

kelvin p

New Member
Joined
Aug 7, 2009
Messages
26
Hoping some kind person can help. I have worksheets with merge cells. Under certain scenarios these cells may need to be split. As other people will be using my spreadsheet I trying to make it fool proof. Is there a way if a column width falls below 2.15 it will align cell vertically and shrink to fit. At present the cells are 4.28 while merged.

I already have a macro to un-merge the active cell (just in case a user couldnt work it out, so created button). Maybe some code could be added to this to vertically align and shrink to fit the cells thats been split?

Thanks in advance
 
Last edited:

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.

Forum statistics

Threads
1,216,038
Messages
6,128,450
Members
449,453
Latest member
jayeshw

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