ERROR LOADING VBA FILE IN LISP

jaimuthu
Advocate
Advocate

ERROR LOADING VBA FILE IN LISP

jaimuthu
Advocate
Advocate
(DEFUN C:LL()
  (VL-VBALOAD "C:/EPLAN/SITE.DVB")

  (VL-VBARUN "SITE")
  )

I LOAD THIS FILE IN AUTOCAD 2021 COMMAND LINE SHOW T THEN NOT RUN THE MACRO
BUT THIS CODE IS WORK ON 2026 WHAT PROBLEM I ATTACHED THIS DVB FILE
0 Likes
Reply
242 Views
3 Replies
Replies (3)

Sea-Haven
Mentor
Mentor

Wow your using 2026 !

 

DVB is pasword protected so no idea why it does not work.

0 Likes

jaimuthu
Advocate
Advocate

SORRY ITS A TYPING MISTAKE ITS WORK 2006 NOT WORK IN 2021 HERE I ATTACHED REMOVE PASSWORD  PROTECTION

0 Likes

Sea-Haven
Mentor
Mentor

Please post as zip in future easier to open than a rar. Works now but I only dable around the edges of VBA.

 

 

Public Sub SITE()
UserForm1.Show

End Sub

 

0 Likes