
Catia vba macro for creating and naming parts and products
- or -
Post a project like this2006
€45(approx. $53)
- Posted:
- Proposals: 9
- Remote
- #2916954
- Awarded
Digital Solutions|Designer & Developer|Shopify|App Development|WordPress|Data Scraping|Lead Generation|Animation

TOP PRO - Excel, Word, PowerPoint, VBA, Google Sheet, Outlook, Access, Database, Scripting

Spreadsheets|Excel macros and VBA|Google sheets |Google app scripts|Presentations - Tableau, PowerPoint, Prezi|Google data studio

3811478986284126446314494331792694387349139570074780981642492
Description
Experience Level: Entry
Catia vba macro for creating and naming parts and products
I already created some code for creating part but just don’t know how to connect userform
Idea is to instead of this yellow line to have user form where we can pick some data and based on that we will make name for the file
For now you can add in drop box what ever you want. I will correct it later when I receive inforations
It should go like this:
Sub CATMain()
Dim Part_Name As String
Part_Name = InputBox("Please enter part name and use define profile")
Dim documents1 As Documents
Set documents1 = CATIA.Documents
Dim partDocument1 As PartDocument
Set partDocument1 = documents1.Add("Part")
Set product1 = partDocument1.GetItem("Part1")
product1.PartNumber = Part_Name
End Sub
Code doesn’t has to be the same you have freedom for that
And this is the userform which we has to use
I already created some code for creating part but just don’t know how to connect userform
Idea is to instead of this yellow line to have user form where we can pick some data and based on that we will make name for the file
For now you can add in drop box what ever you want. I will correct it later when I receive inforations
It should go like this:
Sub CATMain()
Dim Part_Name As String
Part_Name = InputBox("Please enter part name and use define profile")
Dim documents1 As Documents
Set documents1 = CATIA.Documents
Dim partDocument1 As PartDocument
Set partDocument1 = documents1.Add("Part")
Set product1 = partDocument1.GetItem("Part1")
product1.PartNumber = Part_Name
End Sub
Code doesn’t has to be the same you have freedom for that
And this is the userform which we has to use
Dhanashri D.
0% (0)Projects Completed
-
Freelancers worked with
-
Projects awarded
40%
Last project
5 Feb 2026
India
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies