Welcome to Video 1 of my Introduction to CATIA Macros Tutorials. Do you want to learn how to write VBA macros in CATIA V5? Our first tutorial video will teach you:

  1. How to add a macro library
  2. How to open and run macros
  3. How to create an icon for your macros
  4. Create a “hello” message box macro

Msgbox code used in the tutorial:

Sub CATMain( )
Dim st rHe llo As St r ing
st rHe llo=”He llo”
MsgBo x st rHe llo
End Sub

Click here to continue to Video 2 to learn more about creating message boxes and input boxes in VBA.

Return to the list of CATIA V5 articles.