Initialising a variable

G

Guest

Hi All
I am coding in VBA and a lot of effort will be saved if I can initialise a variable to the index no of the object whose method I am defining
Like suppose this event is triggered ComboxBox13_LostFocus(
then a variable x should be assigned the value 13
Any help please
thank
Shilps
 
B

Bob Phillips

There is no automatic way, it would have to be handled manually.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

Shilps said:
Hi All !
I am coding in VBA and a lot of effort will be saved if I can initialise a
variable to the index no of the object whose method I am defining.
 
G

Guest

How? I am looking for any function that might return the parent object name, but couldn't.
 

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

Top