Hello,
I have a variable called “SelectedFolder” which was captured through a Private Sub ListBox1_Click().
Following that I am using the script:
I am trying to get the “SelectedFolder” in a MessageBox through the :
Private Sub UserForm_Initialize() ‘ this is the initializing of Userform2
MsgBox SelectedFolder
End Sub
I tried to declare the SelectedFolder as a Global variable at Module1 and also as a Public variable at the Userforms but I can’t get the SelectedFolder displays in the MessageBox (Message Box shows up as empty).
Any ideas?
Thank you!
Bookmarks