Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep 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
May 13, 2011
6
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
 
Replies continue below

Recommended for you

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