LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 170
Default Adding Range to Worksheet Names Collection

Hi I use the worksheet names collection on a hidden
sheet to store drop down values for comboboxes using
the combobox listfillrange property

Note I am referring to the Worksheet names collection
NOT the workbooks Name collection

This works fine but in Excel 2000 I cant find any way
to add a new range to the collection without writing a
VBA function !

I can add it to the Workbooks name collection using
the GUI brought up by InsertNameDefine but
I want it specific to that hidden sheet

Programmatically I can add it simply enough

Dim mywks As Worksheet
Dim myname As Name


Set mywks = ActiveSheet
With mywks


mywks.Names.Add Name:="RHOV", RefersTo:="Unit_Def.Map!$BK2:$BK4"


End With


Trouble is I want end users to be able to do it

Does anybody know how this is meant to be done
using Excel's own interface ?

Keith


 
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
adding range names SheriTingle Excel Discussion (Misc queries) 2 July 12th 05 03:52 PM
Adding Range Names John Excel Worksheet Functions 1 January 18th 05 11:56 AM
calculating and adding a range to a collection marola20[_2_] Excel Programming 2 March 1st 04 03:24 PM
Names Collection MarkC[_2_] Excel Programming 2 January 28th 04 10:47 AM
Adding and deleting Range Names Paul Excel Programming 1 October 1st 03 10:56 AM


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