Breaking Up Entry With Carriage Returns Using Vb
Hi,
New to VB Script here....
I'm scanning in a 13 digit barcode, something like 6004544715, and need it to come out:
LNP
454
4715
I can get the trucation and the prefix of LNP for it to come out "LNP4544715", but need the VB scripting help to break it into 3 lines. Any help would be greatly appreciated.
Thanks,
Sean
0
-
Once you've the value in one line, you could apply the following VBScript (having in mind that you will need a Paragraph text object in BarTender):
value = Left (value, 3) & vbCrLf & Mid (value, 4, 3) & vbCrLf & Right (value, 4)
0
请先登录再写评论。
评论
1 条评论