Export Column range to text file

Does anyone have a macro to copy a selectable custom column range to a text file?

It is necessary to clarify the export parameters.