running 2 vba programs on startup

running 2 vba programs on startup

Anonymous
Not applicable
250 Views
2 Replies
Message 1 of 3

running 2 vba programs on startup

Anonymous
Not applicable
I have a call to a vba program as well as various other lisp programs from
my acad.mnl file using (defun S::STARTUP() option.
If I try to run a second vba program from anywhere in the acad.mnl I always
get (Loading VBA startup file...Execution error)on the command line.

Shouldn't I be able to run 3, 4, or more programs in succession?

Any help on this matter would be appreciated

Thank
Brent
0 Likes
251 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Try creating a new dvb project called acad.dvb. In it, add a new module and
create a sub called AcadStartup(). It will run automatically, like acad.lsp.
Execute your macros directly from here. Remember that you can only have one
command active at a time.

--
Ed
"Brent Greer" wrote in message
news:57F0762FAEB7E44E80B402D409E69FF0@in.WebX.maYIadrTaRb...
> I have a call to a vba program as well as various other lisp programs from
> my acad.mnl file using (defun S::STARTUP() option.
> If I try to run a second vba program from anywhere in the acad.mnl I
always
> get (Loading VBA startup file...Execution error)on the command line.
>
> Shouldn't I be able to run 3, 4, or more programs in succession?
>
> Any help on this matter would be appreciated
>
> Thank
> Brent
>
>
0 Likes
Message 3 of 3

Anonymous
Not applicable
ditto

some more detailed info worth reviewing about vba startup

http://discussion.autodesk.com/WebX?viewTopic@238.OCnCasSIoal.4@.f0fc690!pag
e=4&keywords=automatically%20running%20a%20vba&discussionRange=all&dateRange
=all&productParent=.ee6b280



"Ed Jobe" wrote in message
news:9EE6D786C64311BA9FA6428E6EDE79FA@in.WebX.maYIadrTaRb...
> Try creating a new dvb project called acad.dvb. In it, add a new module
and
> create a sub called AcadStartup(). It will run automatically, like
acad.lsp.
> Execute your macros directly from here. Remember that you can only have
one
> command active at a time.
>
> --
> Ed
> "Brent Greer" wrote in message
> news:57F0762FAEB7E44E80B402D409E69FF0@in.WebX.maYIadrTaRb...
> > I have a call to a vba program as well as various other lisp programs
from
> > my acad.mnl file using (defun S::STARTUP() option.
> > If I try to run a second vba program from anywhere in the acad.mnl I
> always
> > get (Loading VBA startup file...Execution error)on the command line.
> >
> > Shouldn't I be able to run 3, 4, or more programs in succession?
> >
> > Any help on this matter would be appreciated
> >
> > Thank
> > Brent
> >
> >
>
>
0 Likes