Hello Chintu Raju,
This macro will copy the data in column "A" of the Active Sheet to a text file. All variables that can be changed are marked in red. You should make all your changes to the code before saving it. You can change your file name, file directory, and starting row. You can call the macro CreateTextFile by attaching it to a command button or by using ALT+F8 to run it from the Macro Dialog.
Place this Code in a Standard VBA Module
Place this code in the ThisWorkbook Module
Sincerely,
Leith Ross
Bookmarks