View Single Post
  #4  
Old 09-22-2015, 01:01 PM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,306
Hi jbd1300,
Quote:
crt.Screen.Send "show interface diagnostic optics " & strLine & " | match "r +:" " & vbcr
The line above is a syntax error because you haven't escaped the quotes in your string.

If you want to embed a quote in a string, you must use 2 of them. For example:
crt.Screen.Send "show interface diagnostic optics " & strLine & " | match ""r +:"" " & vbcr
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730