Consulting

Page 2 of 2 FirstFirst 1 2
Results 21 to 22 of 22

Thread: Browse a Folder and Populate Listbox with Folder Items

  1. #21
    @ snb it doesnt work either.

  2. #22
    Knowledge Base Approver VBAX Wizard
    Joined
    Apr 2012
    Posts
    5,646
    What is 'it' ?

    [VBA]Private Sub Listbox1_Change()
    If Listbox1.ListIndex > -1 Then Textbox1.Value =CreateObject("Scripting.FileSystemObject").OpenTextFile(Listbox1.Value).Re adAll
    End Sub[/VBA]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •