Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Detecting a control in a cell?


You can find out the location of a control on a sheet e.g.
control.topleftcell.address

But is it possible to find out if a cell has a control attached to it
and then find out the control name? for both excel form contorls or
contol toolbox or vb toolbox controls?

Any ideas??


--
cmpcwil2
------------------------------------------------------------------------
cmpcwil2's Profile: http://www.excelforum.com/member.php...o&userid=33411
View this thread: http://www.excelforum.com/showthread...hreadid=535937

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Detecting a control in a cell?

I think you'll have to loop through the controls, then check that topleftcell
property to see if it's the cell you're interested in.

cmpcwil2 wrote:

You can find out the location of a control on a sheet e.g.
control.topleftcell.address

But is it possible to find out if a cell has a control attached to it
and then find out the control name? for both excel form contorls or
contol toolbox or vb toolbox controls?

Any ideas??

--
cmpcwil2
------------------------------------------------------------------------
cmpcwil2's Profile: http://www.excelforum.com/member.php...o&userid=33411
View this thread: http://www.excelforum.com/showthread...hreadid=535937


--

Dave Peterson
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
detecting keypress(es) in a cell Hernan Excel Programming 8 July 15th 09 08:13 PM
detecting duplicate input in a cell leo Excel Worksheet Functions 0 January 22nd 07 07:28 AM
Cell value - detecting change tgmjf Excel Worksheet Functions 2 July 20th 06 08:12 PM
Detecting Numbers in a cell KH_GS Excel Worksheet Functions 3 May 5th 06 02:07 AM
automatically detecting changes in a cell Antonio Duarte Excel Discussion (Misc queries) 5 June 15th 05 09:10 PM


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