CAD/CAM discussion forum > CAD > ZWCAD equivalent for AutoCAD VBA Command, migrate autocad VBA to ZWCAD

ZWCAD equivalent for AutoCAD VBA Command, migrate autocad VBA to ZWCAD

Rank: 1

OldForumPost

Newbie

posts: 0

Registered: 2012-1-14

Message 1 of 2

 ZWCAD equivalent for AutoCAD VBA Command, migrate autocad VBA to ZWCAD
26-09-2011 01:43 . am | View his/her posts only
"ZWCAD equivalent for AutoCAD VBA Command"

I am new to ZWCAD and am trying to migrate old AutoCAD VBA Macros to ZWCAD VBA MAcros.Below is the statement in AutoCAD VBA.

"Public objExcel As Excel.Application"

I failed to get the equivalent in ZWCAD.

Please help me!

Rank: 1

OldForumPost

Newbie

posts: 0

Registered: 2012-1-14

Message 2 of 2

26-09-2011 01:43 . am | View his/her posts only
hi tulasi, ZWCAD doesn't support .NET, please define it via VBA:

dim objExcel as object
set objExcel = createobject("excel.application")
See also