I have code in Module1 that calls OpenFileUF.Show (my userform). the code in the userform has property code so that I can Get and Let. In cdbOK_Click, I have Unload Me to unload the userform. In Module1, I call OpenFileUF.sPath sometime after I show the userform to get a path string. when i call this, the userform re-initializes. because it re-initializes, it replaces all the data that the user inputted when it was shown and therefore returns the wrong sPath string.
Bookmarks