Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski 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
Joined
Dec 26, 2022
Messages
3
Location
IN
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
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

Back
Top