I need a macro to convert Excel File to .TXT file
Also, in excel the date format is (yyyy-mm-dd) and it should retain the format after conversion.
Any thoughts please.
Thanks
I need a macro to convert Excel File to .TXT file
Also, in excel the date format is (yyyy-mm-dd) and it should retain the format after conversion.
Any thoughts please.
Thanks
Try this:
![]()
Sub TXT1() Dim path As String path = "type your file path here" 'something like "C:\Users\Folder1\subfolder" ActiveWorkbook.SaveAs Filename:=path & "\Your file name.txt", _ FileFormat:=xlText, CreateBackup:=False End Sub
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks