Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
ANy suggestions to improve this function
(I thought about it for a while and came up with a solution Function ReturnPath(sFname Dim spath As String, i As Long, leng As Intege leng = Len(sFname For i = 1 To leng - If Mid(sFname, leng - i, 1) = "\" The spath = Mid(sFname, 1, leng - i - 1 Exit Fo End I Nex ReturnPath = spat End Function |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to return to full worksheet after filtering a colume? | Excel Discussion (Misc queries) | |||
Filename extract from Filepath Text String | Excel Discussion (Misc queries) | |||
Prevent Excel putting full filename in external links on update | Excel Discussion (Misc queries) | |||
Filepath | Excel Discussion (Misc queries) | |||
get filename and filepath | Excel Programming |