PC Review


Reply
Thread Tools Rate Thread

Adding 'dynamic range names' to the 'Edit > Goto...' pane

 
 
Tim
Guest
Posts: n/a
 
      24th Jun 2009

Hi,

I have created a userform add-in for generating dynamic ranges (which works
well) but the created ranges do not appear in the 'Edit > Goto...' list. I
know i could just type them in each time, but is there any way of forcing
the names on to the list so they can be selected?

Thanks people,

Tim


 
Reply With Quote
 
 
 
 
Joel
Guest
Posts: n/a
 
      24th Jun 2009

You need to add the ranges into the worksheet Define Name list like using
menu Insert - Names - Define. Use code like this

ActiveWorkbook.Names.Add Name:="Joel", RefersToR1C1:= _
"='Finishes Checklists'!R28C7"

The range of address can be obtained by using ADDRESS

MyAddress = Range("A1:B100).address(ReferenceStyle:=xlR1C1,external:=true)


"Tim" wrote:

> Hi,
>
> I have created a userform add-in for generating dynamic ranges (which works
> well) but the created ranges do not appear in the 'Edit > Goto...' list. I
> know i could just type them in each time, but is there any way of forcing
> the names on to the list so they can be selected?
>
> Thanks people,
>
> Tim
>
>
>

 
Reply With Quote
 
Tim
Guest
Posts: n/a
 
      24th Jun 2009

thanks Joel. i'll see if i can include it successfully in the add-in

"Joel" <(E-Mail Removed)> wrote in message
news:F334033D-5008-4516-8E71-(E-Mail Removed)...
> You need to add the ranges into the worksheet Define Name list like using
> menu Insert - Names - Define. Use code like this
>
> ActiveWorkbook.Names.Add Name:="Joel", RefersToR1C1:= _
> "='Finishes Checklists'!R28C7"
>
> The range of address can be obtained by using ADDRESS
>
> MyAddress = Range("A1:B100).address(ReferenceStyle:=xlR1C1,external:=true)
>
>
> "Tim" wrote:
>
>> Hi,
>>
>> I have created a userform add-in for generating dynamic ranges (which
>> works
>> well) but the created ranges do not appear in the 'Edit > Goto...' list.
>> I
>> know i could just type them in each time, but is there any way of forcing
>> the names on to the list so they can be selected?
>>
>> Thanks people,
>>
>> Tim
>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Range Names? =?Utf-8?B?UmF5cG9ydGluZ01vbmtleQ==?= Microsoft Excel Worksheet Functions 1 31st Aug 2007 12:14 AM
dynamic range names in Edit -> Go to Tim Marsh Microsoft Excel Programming 2 23rd Jun 2006 01:47 PM
Dynamic range names LKG Microsoft Excel Discussion 4 8th Dec 2004 11:21 PM
Dynamic Range Names - 2 Qs ken smith Microsoft Excel Misc 5 5th Mar 2004 01:32 AM
Dynamic Range Names JMay Microsoft Excel Worksheet Functions 4 30th Jan 2004 01:14 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:58 AM.