Run VBA while ZWCAD open

Rank: 1

zw_admin

Newbie

posts: 0

Registered: 2012-1-14

Message 1 of 3

Run VBA while ZWCAD open
30-12-2010 06:08 . am | View his/her posts only
If there is any idea to run a user defined VBA Program in ZWCAD while opening the ZWCAD 2010?
TOP 0 Kudos

Rank: 1

zw_admin

Newbie

posts: 0

Registered: 2012-1-14

Message 2 of 3

  Run VBA while ZWCAD open
31-12-2010 12:12 . am | View his/her posts only
Dear sir,

You can use APPLOAD command to load a VBA application, and click the button Startup Suite, and add this VBA here, then it will be loaded automatically everytime you open ZWCAD

But this is only for auto loading, if you want it to be auto RUN after loading, you can write a lisp(.lsp) file like this, and add it to startup suite too.

(command "-vbaload" "C:'changetile.zvb") ;; your vba file path and name
(command "-vbarun" "OEMtitle") ;; macro nameDaniel2010-12-31 00:21:23
0 Kudos

Rank: 1

zw_admin

Newbie

posts: 0

Registered: 2012-1-14

Message 3 of 3

Run VBA while ZWCAD open
31-12-2010 02:17 . am | View his/her posts only
Great Thanks worked out well
TOP 0 Kudos
© 2012 ZWCAD Software Co., Ltd. All rights reserved. | About ZWSOFT | Privacy Policy | Terms and Conditions | Contact us | Site Map
All trademarks,trade names or company names referenced herein are used for identification only and are the property of their respective owners.