borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Winsock)Next Topic (Reconnection Notification.) New Topic New Poll Post Reply
AndreaVB Forum : Network : ASCII string to Excel via winsock
Poster Message
justin
Level: Guest


icon ASCII string to Excel via winsock

I'm trying to import ASCII string comma delimited to Cells in Excel (rows & Columns) but excel doesn't parse the strings properly using texttocolumn   it keeps asking if I want to replace the contents of the destination cells. I need help with the proper code to parse the strings across columns and then go to next row when the text in text box changes. This text is not a file but a stream that is event triggered. Thanks for the help!

22-05-2003 at 01:07 PM
| Quote Reply
~Bean~
Level: VB Guru


Registered: 07-04-2003
Posts: 488
icon Re: ASCII string to Excel via winsock

Two suggestions...

(1) Use this...

Application.DisplayAlerts = False


(don't forget to turn it back on)


(2) And/Or...clear the contents of the cells before you start the import...

Cells.Select
Selection.EntireColumn.Delete


____________________________
Eggheads unite! You have nothing to lose but your yolks.

22-05-2003 at 01:25 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
AndreaVB Forum : Network : ASCII string to Excel via winsock
Previous Topic (Winsock)Next Topic (Reconnection Notification.) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder