Guus2005
AWF VIP
- Local time
- Today, 17:27
- Joined
- Jun 26, 2007
- Messages
- 2,642
i have a long string of about 1500 characters.
i need to cut it in 15 pieces
First from 13 length 12
Second from 25 length 200
Third from 290 length 34
Fourth from 450 length 10
Fifth from 460 length 2
etc.
I know that there is a way to use mid or mid$ ofcourse i don't want to use the mid function.
I have 90K lines to read and the import functionality doesn't do what i want. Skipping a number of lines etc.
So I want to use a pointer. Which should be much faster IMHO. Like in C.
Is there a way to use a pointer in VBA?
Thanks!
i need to cut it in 15 pieces
First from 13 length 12
Second from 25 length 200
Third from 290 length 34
Fourth from 450 length 10
Fifth from 460 length 2
etc.
I know that there is a way to use mid or mid$ ofcourse i don't want to use the mid function.
I have 90K lines to read and the import functionality doesn't do what i want. Skipping a number of lines etc.
So I want to use a pointer. Which should be much faster IMHO. Like in C.
Is there a way to use a pointer in VBA?
Thanks!