If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > using named ranges in formulas

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-14-04, 09:45
mikezcg mikezcg is offline
Registered User
 
Join Date: Oct 2003
Posts: 311
using named ranges in formulas

I have a sheet with about 400 named ranges.

I would like to do a sum at the bottom of each column but not have the named range showing in the formula, only cell addresses. how can i do this?


Also

I have a vba module to set the visibility of certian named ranges to false:

Sub VisRangeNames()


Dim vis As Integer
Dim nam As Name

For Each nam In ActiveSheet.Names
If Right(nam.Name, 1) = "B" Or Right(nam.Name, 1) = "Q" Then
nam.Visible = False
Else
vis = MsgBox(nam.Name, vbYesNo, "This Name is :" & nam.Visible)
If vis = 6 Then
nam.Visible = False
End If
End If
Next
End Sub


How can i make those ranges visible again? using code? as once they are set invisible they dont show up in the collection Activesheet.names!


M~
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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