Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
complex Cell
I had a cell, that consist of 2 cells (1 row, 2 columns).
How can I recognize from range object, that I recived, that the cell is complex? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
complex Cell
Thanks,
but how can I understand with wich cell my cell is merged? BR, Al -----Original Message----- Each range has a property called MergeCells. If you select a cell from the range and the property is set to True then you have a cell which is merged to others. regards, Nils Al wrote: *I had a cell, that consist of 2 cells (1 row, 2 columns). How can I recognize from range object, that I recived, that the cell is complex? * . |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
complex Cell
One way:
Option Explicit Sub testme02() Dim myCell As Range Set myCell = ActiveCell If myCell.MergeCells = True Then MsgBox Prompt:="found at: " _ & myCell.Address(0, 0) & " Of " _ & myCell.MergeArea.Address(0, 0) End If End Sub Al wrote: Thanks, but how can I understand with wich cell my cell is merged? BR, Al -----Original Message----- Each range has a property called MergeCells. If you select a cell from the range and the property is set to True then you have a cell which is merged to others. regards, Nils Al wrote: *I had a cell, that consist of 2 cells (1 row, 2 columns). How can I recognize from range object, that I recived, that the cell is complex? * . -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
complex color fill conditions- if statements or complex formula? | Excel Discussion (Misc queries) | |||
Changing the value in a cell (but a bit more complex than that <G) | Excel Worksheet Functions | |||
Complex Index Match Help (or at least complex to me) | Excel Discussion (Misc queries) | |||
creating a complex cell | Excel Worksheet Functions | |||
How to insert a complex formula in a cell with VBA | Excel Worksheet Functions |