Delmia DPE Development-Creating a VBA program

Source: Internet
Author: User

To Create a VBA project

To create a VBA project node:

1. Expand the "Project Library"-"Utilities" node, right-click on "VBA Projects" and select "VBA project" in its right-click menu.
2. Enter the name of the node in the program that pops up.
Note: 1) name in English;
2) Multiple nodes do not use similar names (such as: VBA1, VBA2, VBA3);
3) Do not use "-", You can use "_";
4) To modify the name, the node name needs to be modified two places;

Insert interface, module, class:
1. Right-click on the new Vba_project node and select "Open VBA IDE" in its right-click menu.
2. Through the right-click menu "Insert" to add the VBA program interface, modules, classes.
Note: The main function is usually main when the program is written

To add a control to a reference DLL:
1. Select "Tools"-"Additional controls ..." To add the required controls;
2. Select "Tools"-"References ..." to add the required DLL files.
Note: Selected Items only means select all.

Delmia DPE Development-Creating a VBA program

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.