jayant_1970
New Member
- Joined
- Dec 21, 2015
- Messages
- 2
Hello !!
I am completely new to VBA. Can someone from community help me achieve following.
I have an excel 2003 worksheet with three columns data as follows:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]SYMBOL[/TD]
[TD]LISTING_DATE[/TD]
[TD]FV[/TD]
[/TR]
[TR]
[TD]20MICRONS[/TD]
[TD]06-Oct-08[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]3IINFOTECH[/TD]
[TD]22-Apr-05[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]3MINDIA[/TD]
[TD]13-Aug-04[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]8KMILES[/TD]
[TD]29-Jan-14[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]A2ZINFRA[/TD]
[TD]23-Dec-10[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
1st Row is with heading text (SYMBOL , LISTING_DATE , FV) in column A, B & C.
Column A contains list of SYMBOLS from A2:A1700.
Column B contains list of LISTING_DATE from B2:B1700
Column C contains list of FV from C2:C1700
- I want to create individual .txt files with A2 to A1700 as file name. (example: 20MICRONS.txt)
- Each text file to contains corresponding data from Column B and Column C with comma and space in between them.
example: 20MICRONS.txt file contains data "LISTING_DATE = 06-Oct-08 , FV = 5" in single line.
Any VBA expert help me please.
Thanks in advance.
I am completely new to VBA. Can someone from community help me achieve following.
I have an excel 2003 worksheet with three columns data as follows:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]SYMBOL[/TD]
[TD]LISTING_DATE[/TD]
[TD]FV[/TD]
[/TR]
[TR]
[TD]20MICRONS[/TD]
[TD]06-Oct-08[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]3IINFOTECH[/TD]
[TD]22-Apr-05[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]3MINDIA[/TD]
[TD]13-Aug-04[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]8KMILES[/TD]
[TD]29-Jan-14[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]A2ZINFRA[/TD]
[TD]23-Dec-10[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
1st Row is with heading text (SYMBOL , LISTING_DATE , FV) in column A, B & C.
Column A contains list of SYMBOLS from A2:A1700.
Column B contains list of LISTING_DATE from B2:B1700
Column C contains list of FV from C2:C1700
- I want to create individual .txt files with A2 to A1700 as file name. (example: 20MICRONS.txt)
- Each text file to contains corresponding data from Column B and Column C with comma and space in between them.
example: 20MICRONS.txt file contains data "LISTING_DATE = 06-Oct-08 , FV = 5" in single line.
Any VBA expert help me please.
Thanks in advance.