VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Macro not found yet works.

1 REPLY 1
Reply
Message 1 of 2
BillZ
200 Views, 1 Reply

Macro not found yet works.

R2006 Win2kPro:

Hi,
I received a .dvb file that does some things on beginsave event.

I load it for the users that need it in s::startup:

(cond ((= (strcase (getvar "loginname")) "ISWACKO")
(vl-vbaload "g:/autolisp/AutoCAD_2006_Support/Support06/lund.dvb")
)
)

In the users mnl file I use (vl-vbarun "lund")

It apears to work but I get an error message:

AutoCAD menu utilities loaded.
ISWACKO menu utilities _.-VBARUN
Macro name: lund
Macro not found.
Command: loaded.
Command:
Opening an AutoCAD 2004 format file.
Regenerating model.

This is a private sub and the .dvb is not in the search path.

TIA

Bill
1 REPLY 1
Message 2 of 2
BillZ
in reply to: BillZ

I was told by another source that this routine only needs to be loaded and not "run".

Bill

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost