Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default Merge question

Let's say I'm referencing cell A2 and am calling it myRange. How do I find
out the other cells that are merged with A2 programmatically?

Thanks in advance,
Barb Reinhardt
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default Merge question

Additional comment. Keep in mind that cells around it may be merged with
this cell or merged with other cells.

"Barb Reinhardt" wrote:

Let's say I'm referencing cell A2 and am calling it myRange. How do I find
out the other cells that are merged with A2 programmatically?

Thanks in advance,
Barb Reinhardt

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Merge question

msgbox myRange.MergeArea.Address

--
Regards,
Tom Ogilvy


"Barb Reinhardt" wrote:

Let's say I'm referencing cell A2 and am calling it myRange. How do I find
out the other cells that are merged with A2 programmatically?

Thanks in advance,
Barb Reinhardt

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Merge question

Hi Barbara

?Range("A1").mergearea.address

$A$1:$B$4


---
Regards,
Norman


"Barb Reinhardt" wrote in message
...
Let's say I'm referencing cell A2 and am calling it myRange. How do I
find
out the other cells that are merged with A2 programmatically?

Thanks in advance,
Barb Reinhardt



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail merge question falcios Excel Discussion (Misc queries) 0 February 20th 09 09:05 AM
Another Join/Merge Question Dave Excel Worksheet Functions 2 October 10th 08 11:52 AM
Merge Question Metalteck Excel Discussion (Misc queries) 1 July 5th 05 06:10 PM
Merge question JoAnn Paules - MVP Publisher New Users to Excel 2 July 5th 05 09:25 AM
Question for complicated merge JulieD Excel Programming 2 August 26th 04 04:27 PM


All times are GMT +1. The time now is 06:49 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"