Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default identify the name of the activecell not its address

i need to assign the range name of the acivecell to a variable - How!!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 201
Default identify the name of the activecell not its address

Dim MyVariable as String
MyVariable = ActiveCell.Name.Name
HTH Otto
"RogerTheDodgerTheDirtyOldSod"
t.com wrote in message
...
i need to assign the range name of the acivecell to a variable - How!!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default identify the name of the activecell not its address

ActiveCell.Name.Name

if it doesn't have a name, this causes an error. (the cell itself must be
named, not this cell be part of a larger number of cells with a name).

--
Regards,
Tom Ogilvy

"RogerTheDodgerTheDirtyOldSod"
t.com wrote in message
...
i need to assign the range name of the acivecell to a variable - How!!



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
If activecell.column = variable then activecell,offset (0,1) Battykoda via OfficeKB.com Excel Discussion (Misc queries) 1 October 2nd 07 08:05 PM
Identify address of cell containing specific data Peter N. Excel Discussion (Misc queries) 3 July 12th 07 06:08 PM
Using Activecell.Address when defining name Hardy[_8_] Excel Programming 4 September 14th 04 09:06 AM
Activecell address Patty2005[_4_] Excel Programming 2 August 7th 04 03:58 AM
ActiveCell.Address Todd Huttenstine Excel Programming 3 July 27th 04 04:45 PM


All times are GMT +1. The time now is 11:24 PM.

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"