SOLVED - Run a .bat file when loading a form
SOLVED - Can be deleted :)
Hi there!
Problem! I made a journal this afternoon about how to get all the subfolders from a folder into a combobox, since there is no drivelistbox/drivecombobox in vba. Now i've managed to build a .bat file which automatically exports every mapname in a .txt file, but now I want to load that .bat file everytime I load the form the folders should be at.
[q]Private Sub UserForm_Activate()
herethecode
End Sub[/q]
So, to sum it up:
I want to run a .bat file everytime I load the coherent form.
Hi there!
Problem! I made a journal this afternoon about how to get all the subfolders from a folder into a combobox, since there is no drivelistbox/drivecombobox in vba. Now i've managed to build a .bat file which automatically exports every mapname in a .txt file, but now I want to load that .bat file everytime I load the form the folders should be at.
[q]Private Sub UserForm_Activate()
herethecode
End Sub[/q]
So, to sum it up:
I want to run a .bat file everytime I load the coherent form.
should answer your question imo... if vba = visual basic