rollnation2
New Member
- Joined
- Mar 18, 2021
- Messages
- 25
- Office Version
- 2016
- Platform
- Windows
Hello Power Users!
I want to create a macro to export a specific range, in a specific workbook to a .txt file. Then title the .txt file with a name from a cell within the workbook.
Data I want exported to notepad as text:
1.Range: B2:N34 ---> Sometimes this range will be larger, so I would like it to be dynamic, exporting everything in the range (no blanks).
2. I want the name of the .txt file to be what is in cell T2 of the same sheet.
Sheetname: "KTR ERP Upload FY22"
Image attached
Any help is appreciated!!
I want to create a macro to export a specific range, in a specific workbook to a .txt file. Then title the .txt file with a name from a cell within the workbook.
Data I want exported to notepad as text:
1.Range: B2:N34 ---> Sometimes this range will be larger, so I would like it to be dynamic, exporting everything in the range (no blanks).
2. I want the name of the .txt file to be what is in cell T2 of the same sheet.
Sheetname: "KTR ERP Upload FY22"
Image attached
Any help is appreciated!!