Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Renaming multi-branchable (Electrical Harness) in Catia V5

Status
Not open for further replies.

paresh t

Student
Dec 26, 2022
3
Hello,
I need help to solve my VBA error.
While doing renaming with the help of VBA, the Pop-Up shows error as per snap attached:
And Line 35 (As per snap)in VBA Program is as below::

Selection.Item(i).Value.PartNumber = replace (Selection.Item(i).Value.PartNumber,ElementFindName , ElementName)
 
 https://files.engineering.com/getfile.aspx?folder=191d65a4-5dc1-46cd-8d55-6cb739c0d0a7&file=Capture11.PNG
Replies continue below

Recommended for you

Hello, Can anyone help me into this please....
 

It shows Below error in Pop-up Window: The Method PartNumber Failed, Line 35

And Line Line 35 as per below:

Selection.Item(i).Value.PartNumber = replace (Selection.Item(i).Value.PartNumber,ElementFindName , ElementName)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor