Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
 
Posts: n/a
Default Determine shape name associated with a specific cell

Yesterday I made changes to some code I found on the net: the code
resizes the visible width of a validation dropdown list. The code I
found refers to a very specific dropdown: the shape name specified is
"Drop Down 1".

Isn't it likely, or at least possible, that there may be "Drop Down
1" thru "Drop Down n" within the same spreadsheet? Is there code
to determine the shape name associated with a particular cell? The
code I have is

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
{delete to save space}
If Target.Validation.Type = xlValidateList Then
etc.
End Sub

Is there a variation on Target.Validation.Type that will tell me the
shape name for this cell? Something like Target.Shapes.Name...?

Thanks

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
Capturing Shape Name/Text from OnAction property William Bartusek Excel Discussion (Misc queries) 3 April 12th 05 06:38 PM
Highlight a row if a specific cell is specific numbers/words sea0221 Excel Worksheet Functions 2 March 9th 05 12:06 AM
Number of records by Month that meet a specific requirement Keith Brown Excel Worksheet Functions 1 February 5th 05 05:42 PM
How do I make a cell date specific to input a value on a specific. ebuzz13 Excel Discussion (Misc queries) 1 January 18th 05 05:53 PM
Hyperlink to specific sheet in Excel Web File jd17 Links and Linking in Excel 0 December 8th 04 09:03 PM


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