Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is there a way to populate a ListBox with all of my Action Recorders?
Solved! Go to Solution.
Is there a way to populate a ListBox with all of my Action Recorders?
Solved! Go to Solution.
I got it!!
There might be a cleaner way, but it works. In case anybody want's to know, here's what I did:
Private Sub UserForm_Initialize()
Dim ActionRecFdr As String
ActionRecFdr = Dir(ThisDrawing.GetVariable("ACTRECPATH") & "\*.actm")
Do While ActionRecFdr <> ""
comActionRecorders.AddItem Left(ActionRecFdr, Len(ActionRecFdr) - 5)
ActionRecFdr = Dir
Loop
comActionRecorders.ListIndex = 0
End Sub