Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Returning the range name in VBA


Just the elegant solution I was looking for

--
John Tji
-----------------------------------------------------------------------
John Tjia's Profile: http://www.excelforum.com/member.php...nfo&userid=468
View this thread: http://www.excelforum.com/showthread.php?threadid=26848

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Returning the range name in VBA

You have a good solution, but just to answer on of your questions.

Activecell.Name.Name

returns the range name if it has one, otherwise it raises an error.

--
Regards,
Tom Ogilvy


"John Tjia" wrote in message
...

Just the elegant solution I was looking for!


--
John Tjia
------------------------------------------------------------------------
John Tjia's Profile:

http://www.excelforum.com/member.php...fo&userid=4681
View this thread: http://www.excelforum.com/showthread...hreadid=268487



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
Returning a range using IF Alan Excel Worksheet Functions 3 September 12th 07 11:08 PM
Returning a range ledzepe Excel Discussion (Misc queries) 7 February 17th 06 10:08 PM
Returning the range name in VBA John Tjia[_2_] Excel Programming 4 October 20th 04 02:09 PM
Returning the range name in VBA John Tjia[_3_] Excel Programming 0 October 12th 04 03:28 PM
Returning Range Total in VBA JimPNicholls Excel Programming 3 August 16th 04 04:48 PM


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