Front Office Football Central

Front Office Football Central (https://forums.operationsports.com/fofc//index.php)
-   FOFC Archive (https://forums.operationsports.com/fofc//forumdisplay.php?f=27)
-   -   PING: Visual Basic question (https://forums.operationsports.com/fofc//showthread.php?t=59689)

hoosiergoody 07-10-2007 08:58 AM

PING: Visual Basic question
 
Hi all- I hope someone can help... I have data in excel that I am copying into a IBM Mainframe via VB. To keep the original formatting of the data, I had to add an ' to each cell, and it is saved in .csv format. what is the best way to remove the ' when putting the data back in to the mainframe? On some cells I can use " .TransmitANSI Right$(BrandCode, 8), but if there are more or less than 8 digits plus the ', that doesn't work. Any thoughts?

lighthousekeeper 07-10-2007 09:19 AM

Would this work?

Replace(txt,"'",""))

hoosiergoody 07-10-2007 09:28 AM

i'll try it out. still learning vb on the fly... thanks for your response.

hoosiergoody 07-10-2007 11:40 AM

lighthousekeeper- that did it. thanks for your timely response!


All times are GMT -5. The time now is 10:43 AM.

Powered by vBulletin Version 3.6.0
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.