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 LittleInch on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Split Filename

Status
Not open for further replies.

Immow

Industrial
Joined
May 13, 2011
Messages
6
Location
NL
Sorry if this is a double post, can't find my original one.

We use our file-names to store part-numbers.

example "[xx_xx_xx_xx] name"

I'm trying to separate [xx_etc.] from the file-name for my sheet and BOM.

To get the file-name we use this line of code: $PRP:"SW-File Name(File Name)"

The next step would be to use excel to filter out [xx_etc.] part or split it somehow. I don't know how to do this.

Kind regards,

Koen
 
Do you have any familiarity at all with VBA? You can embed VBA code in an equation to do this. The equation can be stored in the part template. I can't remember if it was here or the SW forum, but I've posted a very similar equation before to load a custom property with part of the filename.

-handleman, CSWP (The new, easy test)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top