Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 94
Default how to display the referral area of a name

Is it possible to view all areas for all names at once?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default how to display the referral area of a name

If the Named Areas are all one one sheet, then:

Sub show_all()
Dim r As Range
Set r = Nothing
For Each n In ActiveWorkbook.Names
If r Is Nothing Then
Set r = Range(n)
Else
Set r = Union(r, Range(n))
End If
Next
r.Select
End Sub

will display all at once.


Macros are very easy to install and use:

1. CNTRL-F11 brings up the VBE window
2. ALT-I
ALT-M opens a fresh module
3. paste the stuff in and close the VBE window

If you save the workbook, the macro will be saved with it.


To remove the macro:

1. bring up the VBE window as above
2. clear the code out
3. close the VBE window

To learn more about macros in general, see:

http://www.mvps.org/dmcritchie/excel/getstarted.htm




--
Gary''s Student
gsnu200707


"Holly" wrote:

Is it possible to view all areas for all names at once?

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
Use values instead of labels on X-axis in Area/Stacked Area Charts Ryan Charts and Charting in Excel 1 November 21st 06 04:14 PM
Display columns side by Side in the Data Area of a Pivot table Sue Excel Discussion (Misc queries) 1 March 21st 06 02:12 AM
Combination chart - area and column - order display? Gary King Charts and Charting in Excel 1 January 4th 06 08:40 PM
Pasting constant formula where referral sheet changes Nicole M. Excel Worksheet Functions 10 January 1st 06 07:54 PM
Display Text in the Data Area of a Pivot Table Wayne Wilmeth Excel Discussion (Misc queries) 0 August 4th 05 10:12 PM


All times are GMT +1. The time now is 08:10 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"