Ok I got vb outputing some names to a text file.. but It keeps adding " in front of everything and at the end.. WHY?!
This is the write statement.. I figure this is where it's telling it to add Quotes.. because if you just beug.print the variable it has no quotes...
wfile is defined by a commondialogbox
This is what the output looks like..Code:Open wFile For Output As filenum Dim potion1, potion2, potion3, potion4 potion1 = "[Rej Potion]" potion2 = "Code='rvs'" potion3 = "[Full Rej Potion]" potion4 = "Code='rvl'" MsgBox potion1 Write #filenum, potion1 Write #filenum, potion2 Write #filenum, potion3 Write #filenum, potion4 Write #filenum, Close filenum
"[Rej Potion]"
"Code = 'rvs'"
"[Full Rej Potion]"
"Code = 'rvl'"
I need the quotes to vanish!![]()


Reply With Quote
