Hi,
I'm an absolute beginner in VBA and I'm trying the learning by doing method.
Can somehow help me pleae with this simple problem:
After having imported a text file into excel I have something like that:
Row Content
1 HOUSE
2 MOUSE
3 XXX
4 SB73
5 KLM
6 ICON
7 SHOE88
8 XXX
9 78
10 25 MILES
11 FLOOD
12 XXX
13 AIR86PLANE
ETC
ETC
Now I want to export (copy and paste) the arrays which are in between "xxx" to a new sheet. First array should be placed at A1, second at E1 third at A1+20 fourth et E1+20, fifth at A1+40, sixth at E1+40 etc.
How would I do that?
My Idea is to find out the row number of the "xxx" and then copy and paste the rows in between. For example the second "xxx" is at row number 8 and the first xxx is at row number three. Therefore I know that I have to copy and paste 4 cells (8-3+1) starting from row number 4 (3+1). How to find out at which rom number the xxx's are located
Thanks for your help.
Cheers,
hegisin
Bookmarks