Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 252
Default how to refer to a merged range value

Hi all,

How to refer to a merged area value, only do I know is using the first
merged cell address.

Clara


--
thank you so much for your help
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default how to refer to a merged range value

If you know the first cell address of a merged area, simply use its value
And if you do not know the address of the first cell, you can obtain the
value of the merged area in this way Range(A!).MergeArea(1).Value. Instead
of A1 you should use the address of any cell which is a part of the merged
area.


"clara" wrote:

Hi all,

How to refer to a merged area value, only do I know is using the first
merged cell address.

Clara


--
thank you so much for your help

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default how to refer to a merged range value

Clara,

Use the MergeArea property. E.g.,

Debug.Print Range("C10").MergeArea.Address


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting LLC
www.cpearson.com
(email on the web site)


"clara" wrote in message
...
Hi all,

How to refer to a merged area value, only do I know is using the first
merged cell address.

Clara


--
thank you so much for your help



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
How to refer to a range except one cell hs Excel Discussion (Misc queries) 4 December 6th 09 11:05 PM
refer to range in another sheet Smallweed Excel Discussion (Misc queries) 5 November 13th 09 12:47 PM
Pivot tables to refer to merged cells malcomio Excel Discussion (Misc queries) 0 July 6th 07 03:16 PM
Refer to rows in a range ewan7279 Excel Programming 1 August 1st 06 05:24 PM
How do I refer a Range to a Cell Mal Excel Worksheet Functions 6 June 7th 05 08:47 AM


All times are GMT +1. The time now is 12:54 AM.

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

About Us

"It's about Microsoft Excel"