I have a form with a lot of command buttons all launching the COMMON DIALOG BOX ( names CD1 in my app)
Under each command button there is a different CD1.INITDIR value (for different folders on the drive)
The problem is that the COMMON DIALOG control is not changing to each individual directory. Whatever one I choose first, is the one that each COMMAND BUTTON opens up, regardless of what the CD1.INITDIR value is set to. I even DEBUGd it and watched the value of INITDIR and it IS CHANGING to the right folder, but the DIALOG box keeps opening up to the same folder as the first one I pick.
On Error GoTo ExitMe
seld = 2
Command2.Value = 0
CD1.InitDir = Text37.Text
CD1.Filter = "MP3 Audio File (*.mp3)|*.mp3"
CD1.DefaultExt = "mp3"
CD1.DialogTitle = "Select Audio File"
CD1.CancelError = False
Text2.Text = CD1.FileName
CD1.FileName = ""
MsgBox "Error " & Err.Number & ": " & Err.Description & vbCrLf & "in Save" & vbCrLf & "The error occured at line: " & Erl, vbAbortRetryIgnore + vbCritical, "Error"