Below is code I have but the concat is not working...Does anyone see anything wrong?
Do While Not ts.AtEndOfStream
'replace the comma from textfile b/t dln & dup and replace with no spaces
s1=Replace(ts.ReadLine, ",","")
s2=Left(s1,1)+Right(s2,11)
'send to printer
autECLSession.autECLPS.SendKeys "DLN/"+s2+".PM1."
autECLSession.autECLPS.SendKeys"[Enter]"
Loop
Do While Not ts.AtEndOfStream
'replace the comma from textfile b/t dln & dup and replace with no spaces
s1=Replace(ts.ReadLine, ",","")
s2=Left(s1,1)+Right(s2,11)
'send to printer
autECLSession.autECLPS.SendKeys "DLN/"+s2+".PM1."
autECLSession.autECLPS.SendKeys"[Enter]"
Loop