Front Office Football Central  

Go Back   Front Office Football Central > Archives > FOFC Archive
Register FAQ Members List Calendar Mark Forums Read Statistics

Reply
 
Thread Tools
Old 07-10-2007, 08:58 AM   #1
hoosiergoody
Mascot
 
Join Date: Nov 2005
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?

hoosiergoody is offline   Reply With Quote
Old 07-10-2007, 09:19 AM   #2
lighthousekeeper
College Starter
 
Join Date: Oct 2000
Would this work?

Replace(txt,"'",""))
__________________
...
lighthousekeeper is offline   Reply With Quote
Old 07-10-2007, 09:28 AM   #3
hoosiergoody
Mascot
 
Join Date: Nov 2005
i'll try it out. still learning vb on the fly... thanks for your response.
hoosiergoody is offline   Reply With Quote
Old 07-10-2007, 11:40 AM   #4
hoosiergoody
Mascot
 
Join Date: Nov 2005
lighthousekeeper- that did it. thanks for your timely response!
hoosiergoody is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump


All times are GMT -5. The time now is 02:31 AM.



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