ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Export Table Records to txt file (https://www.excelbanter.com/excel-programming/442919-export-table-records-txt-file.html)

K[_2_]

Export Table Records to txt file
 
Hi all, I have Table "T_Data" in my database. In "T_Data" I have
220000 records. I need to export them into txt files. I need some
kind of macro which should export chunk of 60000 records into one txt
file and save that file in folder called "Data" on "C:\" drive. Macro
should also put numbers at the end of each txt file name. Like (See
below)

Data 1.txt
Data 2.txt
Data 3.txt
etc…..

I'll be very greatful if any friend can help me on this as I am
struggling on this.


All times are GMT +1. The time now is 09:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com