Macro not working

Macro not working

jriseborough
Enthusiast Enthusiast
625 Views
4 Replies
Message 1 of 5

Macro not working

jriseborough
Enthusiast
Enthusiast

We have a add on program for Autocad, and part of it is running a macro at startup. All of a sudden the macro in a DVB file does not run, but the macro is there. I am programming illiterate, and not sure what to do.

 

Here is the error:

 

Command: _-vbaload Initializing VBA System...
Open VBA Project: "C:/Program Files/Con Span Utility/Con Span Utility 1_0.dvb"

Command: _-vbarun
Macro name: AcadStartup
Execution error
Command: filedia

Enter new value for FILEDIA <0>: 1

 

Not sure what to even do.

0 Likes
626 Views
4 Replies
Replies (4)
Message 2 of 5

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

the message "execution error" is not enough info to give you now any suggestions.

I would first contact the creator of the DVB file.

Or upload the DVB here and maybe we can reproduce the issue.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 3 of 5

leothebuilder
Advisor
Advisor

Ask this question in the VBA customization forum, you're likely to get more responses.

 

http://forums.autodesk.com/t5/visual-basic-customization/bd-p/33

0 Likes
Message 4 of 5

jriseborough
Enthusiast
Enthusiast

I have posted it over in the VBA area with the file.

0 Likes
Message 5 of 5

Alfred.NESWADBA
Consultant
Consultant

to be continued >>>there<<<.

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes