Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How wood i then make all cell universal shape, make a new sheet, and special
paste transposed on the new sheet? Bernie Deitrick wrote: rtwiss, Try the macro below. HTH, Bernie MS Excel MVP Sub UnMergeAllCells() Dim myC As Range Dim myR As Range Dim myV As Variant Dim myM As Range For Each myC In ActiveSheet.UsedRange.SpecialCells(xlCellTypeVisib le) If myC.MergeCells Then Set myM = myC.MergeArea myV = myC.Value myC.UnMerge For Each myR In myM myR.Value = myV Next myR End If Next myC End Sub Can anyone help me with this. I have two parts of the program. Here they a [quoted text clipped - 26 lines] End Sub -- Message posted via http://www.officekb.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Select Merged Cells and Unmerge Spread Merge Data To All Cells | Excel Programming | |||
Copy data from Single cell to Merged cell | Excel Programming | |||
how to select a single column when this column cross a merged cell | Excel Programming | |||
Data is not visible in merged and wrapped cells | Excel Worksheet Functions | |||
How can I copy Word data into a merged cell in Excel? | Excel Discussion (Misc queries) |