Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
merged cells
I want to check the property of a cell to see if it is
merged. Does anybody know how to write the code for this? Thanks Casc |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
merged cells
Sub aa_tester6()
Dim rng As Range Set rng = Range("A1") If rng.MergeCells Then MsgBox rng.Address & " is in the merged area " _ & rng.MergeArea.Address Else MsgBox rng.Address & " is not in a merged area" End If End Sub -- Regards, Tom Ogilvy "Casc" wrote in message ... I want to check the property of a cell to see if it is merged. Does anybody know how to write the code for this? Thanks Casc |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Copy paste non merged to merged cells | Excel Worksheet Functions | |||
How can I sort an Excel Doc containing merged & non-merged cells? | Excel Discussion (Misc queries) | |||
Autofit Merged cell Code is changing the format of my merged cells | Excel Discussion (Misc queries) | |||
how do i link merged cells to a merged cell in another worksheet. | Excel Worksheet Functions | |||
Sorting merged cellsHow do I sort merged cells not identically siz | Excel Worksheet Functions |