Answer Posted / sundarraj_v83
Active Control Property is used to know which one control is
currently focused. It has so many use,
For example,
My cursor is focusing text box 'TextBox1' and the function is
running, where I would like to know the active (focused)
control name, The following code will help you,
strMyControl = ActiveControl.Name
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is shortcut menu and explain "The ole control's shortcut menu".
Is it possible to change menu runtime using API? If yes? Specify the function names.
Data Control missing from toolbox when I use VB under NT3.5. Why?
What is the-use of property page Wizard in ActiveX Control?
How do you avoid the "Invalid use of null" error when reading null values from a database?
How would you Create a Query Builder and Explain its uses
How do I do drag & drop between applications?
Is there any Edit method in ADO Data Access method?
what are the Types of cursors in RDO?
What is file in vb?
How do you change the icon and otherwise manipulate the DOS box?
Explain about conditional operators?
1s it posible to Create Tables Through Querydef?
How do I add a form in visual basic?
by writing MACRO CODE,i want to retrive data from one spead sheet to another UI (workbook). control will search cell by cell for each row and load the data in another workbook(UI). ex: custdetails custname lastname locaton mobile pincode custdetails raj tony hyd 555555 521245 servcreqrd srvce# srvcename location srvcepincode servcreqrd 754 drilling hyd 521784 for the above example in the another workbook retrive data like this custname Raj srvce# 754 srvcepincode 521784. while retrieving data control will search cell by cell for each row.