SeanDamnit
Board Regular
- Joined
- Mar 13, 2011
- Messages
- 151
Hello,
I was hoping to get a little help with a complicated transpose. I have data that looks like this:
---APA7373KT---APA9292KT---APA9292WT...
ALBN1PO248---5---1---9...
ALBN1PO249---3---1---1...
ALBN2PO224---4---5---0...
.
.
.
and I would like it to look like this:
ALBN1PO248---APA7373KT---5---APA9292KT---1---APA9292WT---9...
ALBN1PO249---APA7373KT---3---APA9292KT---1---APA9292WT---1...
ALBN2PO224---APA7373KT---4---APA9292KT---5---APA9292WT---0...
.
.
.
The source file will always have a varying amount of data both left to right and top to bottom, so any script used will have to adapt to that. Unfortunately I'm not completely familiar with VBS yet, so I'm not sure where to begin here.
If anyone is so kind as to help me out, please add comments to some of the VBS lines so I can understand why certain steps are used...(that'll make it so I won't have to bug all of you as much )
I was hoping to get a little help with a complicated transpose. I have data that looks like this:
---APA7373KT---APA9292KT---APA9292WT...
ALBN1PO248---5---1---9...
ALBN1PO249---3---1---1...
ALBN2PO224---4---5---0...
.
.
.
and I would like it to look like this:
ALBN1PO248---APA7373KT---5---APA9292KT---1---APA9292WT---9...
ALBN1PO249---APA7373KT---3---APA9292KT---1---APA9292WT---1...
ALBN2PO224---APA7373KT---4---APA9292KT---5---APA9292WT---0...
.
.
.
The source file will always have a varying amount of data both left to right and top to bottom, so any script used will have to adapt to that. Unfortunately I'm not completely familiar with VBS yet, so I'm not sure where to begin here.
If anyone is so kind as to help me out, please add comments to some of the VBS lines so I can understand why certain steps are used...(that'll make it so I won't have to bug all of you as much )