I have some code, that I got from this site, that allows a user to browse for a folder, the code is below. My question is, how do you determine whether the user has clicked the OK button, the Cancel button, or the close. "X" button?
fold = PickFolder(0)
Function PickFolder(strStartDir As...