Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Determine start column/ end column of Merged Cell
hi all,
any advise on how to determine the start Column and end Column of a merged Cell using VBA in Excel 2003 is mostly appreciated. ie A3/B3/C3/D3/E3/F3 are merged therefore Start = 1 (for A) End = 6 (for F) thanking for your help. cheers... ....jurgenC! |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Determine start column/ end column of Merged Cell
Hi JurgenC!
Dim MergeAr As Range Set MergeAr = Range("C10").MergeArea MsgBox MergeAr.Column & vbCrLf & MergeAr.Column + MergeAr.Columns.Count HTH Cordially Pascal "jC!" a écrit dans le message de om... hi all, any advise on how to determine the start Column and end Column of a merged Cell using VBA in Excel 2003 is mostly appreciated. ie A3/B3/C3/D3/E3/F3 are merged therefore Start = 1 (for A) End = 6 (for F) thanking for your help. cheers... ...jurgenC! |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Determine start column/ end column of Merged Cell
please amend:
Set MergeAr = Range("A3").MergeArea Cordially Pascal "papou" a écrit dans le message de ... Hi JurgenC! Dim MergeAr As Range Set MergeAr = Range("C10").MergeArea MsgBox MergeAr.Column & vbCrLf & MergeAr.Column + MergeAr.Columns.Count HTH Cordially Pascal "jC!" a écrit dans le message de om... hi all, any advise on how to determine the start Column and end Column of a merged Cell using VBA in Excel 2003 is mostly appreciated. ie A3/B3/C3/D3/E3/F3 are merged therefore Start = 1 (for A) End = 6 (for F) thanking for your help. cheers... ...jurgenC! |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Determine start column/ end column of Merged Cell
Hi Pascal,
thanks for your response and help cheers... ...jC! *** Sent via Devdex http://www.devdex.com *** Don't just participate in USENET...get rewarded for it! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Determine a result of one column based on conditions in two column | Excel Discussion (Misc queries) | |||
Use cell to determine column in formula | Excel Worksheet Functions | |||
How do I determine the last cell in a Column | Excel Discussion (Misc queries) | |||
How to determine the column letter from Cell address | Excel Worksheet Functions | |||
Selecting single column with merged cell at top | Excel Programming |