// xlWks is a Worksheet automation // nextline is the current line I'm on // N is just the column i happen to want to fill the data into if t1.findset then repeat xlWks.Range('N' + FORMAT(nextLine)).Value( FORMAT(xlWks.Range('N' + FORMAT(nextLine)).Value) + ' ' + t1.Text); until t1.next = 0;
a1111111111111111111111111111111111111111111111111111111111111111111111111111111 b2222222222222222222222222222222222222222222222222222222222222222222222222222222 c3333333333333333333333333333333333333333333333333333333333333333333333333333333 d4444444444444444444444444444444444444444444444444444444444444444444444444444444 e5555555555555555555555555555555555555555555555555555555555555555555555555555555 f6666666666666666666666666666666666666666666666666666666666666666666666666666666 g7777777777777777777777777777777777777777777777777777777777777777777777777777777 h8888888888888888888888888888888888888888888888888888888888888888888888888888888 i9999999999999999999999999999999999999999999999999999999999999999999999999999999 j0000000000000000000000000000000000000000000000000000000000000000000000000000000 kAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA lBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB mCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
a1111111111111111111111111111111111111111111111111111111111111111111111111111111 b2222222222222222222222222222222222222222222222222222222222222222222222222222222 c3333333333333333333333333333333333333333333333333333333333333333333333333333333 d44444444444 4mCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCmCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCm
Comments
To get you more detailed data, i started stepping the loop and here is what i got after each iteration: (i replaced the space with a pipe because i got multiple spaces next to each other at one point)
apparently the length stays the same after it reaches it's peak of 421. somehow after the 256th char, most of the content gets cut off. vor some reason the next char i add gets repeated 3 times and then comes one char from the previously cut of sequence (that 4) and then the newly added string get added... two times ... plus the first char from the 3rd time.
edit: sorry for messing up the forum layout.
I've discovered this Automation: 'Navision Attain Hash 1.0'.BSTRConverter
Now, I write the Data i want to export into the BStr-automation and i can assign it to the cell using
however i get an overflow error if the lenght of BStrConv exceeds 1024 chars. I've currently solved it by filling the portions into an array and assigning the content to different Cells but I'm still not happy with that solution. In case someone has solved this issue, i'd be glad to hear about it... P.s. I can't send the whole automation to the value (like they did it on the same issue wird the mail body on other threads in this forum.) i have to use the BSTR-Property.
best regards