Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enumerate Menus
Message
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00769292
Message ID:
00770490
Views:
29
This message has been marked as a message which has helped to the initial question of the thread.
Hi!

Try this:

Private Sub btnA_Click()
Dim oA As Control
For Each oA In Me.Controls
If TypeOf oA Is Menu Then
lstA.AddItem oA.Name
End If
Next oA
End Sub
Previous
Reply
Map
View

Click here to load this message in the networking platform