IBM Support

HD85723: SCRIPTINGERR_1140 OCCURS IF ADD VBA TO LIBRARY ON WIN64BIT M ACHINE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Problem:
    ScriptingERR_1140 occurs if add vba to library on
    Win64bit machine
    .
    Scenario:
    1. Launch the CATIA.
    2. Go to Tools > Macro > Macros.
    3. Select "Macro libraries" button.
    4. Change the library type to "VBA projects".
    5. Select "Add existing library" button.
    6. Select VBAProject1.catvba, VBAProject2.catvba,
    VBAProject3.catvba and VBAProject4.catvba.
    7. Click OK.
    .
    Actual Result:
    ScriptingERR_1140 Error occurs.
    .
    Expected Result:
    Macro should be added to library correctly.
    .
    

Local fix

Problem summary

  • Problem:
    ScriptingERR_1140 occurs if add vba to library on
    Win64bit machine
    .
    Scenario:
    1. Launch the CATIA.
    2. Go to Tools > Macro > Macros.
    3. Select "Macro libraries" button.
    4. Change the library type to "VBA projects".
    5. Select "Add existing library" button.
    6. Select VBAProject1.catvba, VBAProject2.catvba,
    VBAProject3.catvba and VBAProject4.catvba.
    7. Click OK.
    .
    Actual Result:
    ScriptingERR_1140 Error occurs.
    .
    Expected Result:
    Macro should be added to library correctly.
    

Problem conclusion

  • THIS PROBLEM WILL BE FIXED ON CATIA VERSION V5R20 GA level.
    Additional Closure Information:
    Note concerning the correction on V5R19 SP7:
    Program Directory is updated with the information mentioned
    below:
    Manual Reference:
    Prerequisites > Solutions and Products > General and Open
    Issues > CATIA Infrastructure > CATIA Object Manager
    Topic: General Issues
    Documentation after correction :
    VBA
    When using VBA in a 64-bit environment, you may encounter an
    error message from VBA indicating memory allocation problems
    or may not even succeed in loading your VBA project. These
    problems can be removed by upgrading to the most recent
    version, VBA 6.5.
    The VBAIDEinst.exe executable allows you to install the
    latest version of VBA. To perform this upgrade:
    Select Start > Programs > Command Prompt to open a Command
    Prompt window.
    Go to the directory of the installation CD 1, then to the
    Intel or win64 folder.
    Enter the command:
    VBAIDEinst.exe
    

Temporary fix

Comments

APAR Information

  • APAR number

    HD85723

  • Reported component name

    CATIA V5 NT>XP

  • Reported component ID

    569151000

  • Reported release

    518

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-06-16

  • Closed date

    2009-11-20

  • Last modified date

    2009-11-20

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    CATIA V5 NT>XP

  • Fixed component ID

    569151000

Applicable component levels

  • R519 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSVJ2K","label":"CATIA V5"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"518","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
20 November 2009