Rick, in General, an On Error block will allow you to do this. You can read more about how it works here: https://technet.microsoft.com/en-us/library/ee692852.aspx
HTH, Steve On 3/24/2015 12:46 PM, Rick Thomas via Scripting wrote: > I try to print a line that has the concatenated accObj.Name & " " & > accObj.Role in the line. > It prints a bunch of these but then blows up saying I have a bad call or bad > argument, likely the latter. > How do I trap the error and print the ascii codes for whatever is in the > line string causing the error? > In vb.net I would use a try / catch block. > How do I trap the error, pass the bad line to it and print out the ascii > contents along with regular text if any. > Also, if necessary, how do I pass processing this line and continue when > there are good lines? > Rick USA > > _______________________________________________ > Any views or opinions presented in this email are solely those of the author > and do not necessarily represent those of Ai Squared. > > For membership options, visit > http://lists.window-eyes.com/options.cgi/scripting-window-eyes.com/sclower%40aisquared.com. > For subscription options, visit > http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com > List archives can be found at > http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com > _______________________________________________ Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Ai Squared. For membership options, visit http://lists.window-eyes.com/options.cgi/scripting-window-eyes.com/archive%40mail-archive.com. For subscription options, visit http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com List archives can be found at http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com
