Hi everyone.
First off, let me say that I have almost no experience with Lisp but I am proficient with VB/VBA.
I am writing a VBA program to help our engineering staff automate our drawing tasks. We are using AutoCAD electrical 2006.
I am trying to use the AutoCAD API to interface to the electrical 'functions'.
One of the API calls I am trying to use is (c:ace_add_dwg_to_project nil (list nil nil nil nil))).
In VBA I am using it in the following syntax - ThisDrawing.SendCommand "(setq ent_return (c:ace_add_dwg_to_project nil (list nil nil nil nil))) ".
My goal is to replace (list nil nil nil nil) with values passed from several text boxes that are on a form in VBA. This is the point at which I am lost.

Can anyone help?

Thanks in advance.
Tom