Well, I wanted to make the user aware of any xrefs located in the drawing....In LISP the alert window ... i.e.
(alert "blah blah blah")
is limited to the amount of information you can "effectively" put into it. So, rather than fight with calling the base acad.dcl file and loading the dialog for it etc.... I simply parsed the entire list of the xrefs in the drawing and added them to a string..that string would be formatted with the name of the xref n a quote " the VBA command for connecting strings & the VBA constant for a carriage return vbCr for the formatting in the message box, followed by another open quote " that would preceed the next xref name stored in the variable n.
Now, there is a command line call that you can use to call VBA commands simply by entering the VBA code directly on the command line. That command is vbastmt which is essentially "VBA Statement"
The bit of code following is the statement string that is passed to the command line.. opening a message box MsgBox and passing the string list of names and carriage returns strlist to the message box command.
and I am glad it works like it should....