Detecting a control in a cell?

  • Thread starter Thread starter cmpcwil2
  • Start date Start date
C

cmpcwil2

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??
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top