Text1.Textclose #1
CommonDialog1.ShowSave Open CommonDialog1.FileName For Output As 1 Write #1, Text1.Textclose #1