ControlFromHwnd Function | ||||||||||
Applies to: PowerForm control Returns a reference to a control placed in the same container as a PowerForm control. Syntax: Set ControlRef = object.ControlFromHwnd(hWnd As Long) As Object The ControlFromHwnd function syntax has these parts:
Remarks: ControlFromHwnd cannot be used to find a control which was loaded at run-time.
|