After that, CommonDialog1.F ileName will contain the filename which the user wants to save the file as.
It depends on your program how exactly you use this. For example, for saving some text to this file, you'd use: Dim FileID As Integer
FileID = FreeFile
Open CommonDialog1.F ilename For Output As FileID (Write some stuff to it here)
Close FileID
If you simply wanted to make a copy of one file as this new filename, you'd use FileCopy OrigFilename, CommonDialog1.F ilename
Comment