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!

Retrieve a product filename

Status
Not open for further replies.

sapatak

New member
Jan 20, 2003
27
CA
Is there a VB function that can read the filename of a product (without the entire path)
what kind of object is it.

please help...

Sap
 
Replies continue below

Recommended for you

Hello,
what You have to do is
1) ask the document path and get length of that string
iLength=Len(MyDoc.Path)
2) strip of the path from the full name
sName=Right(MyDoc.FullName,len(MyDoc.FullName)-(iLength+1))

The syntax may not be 100% correct, but You got the idea?

regards TPale
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top