Im looking to seperate the file name from a paths string.
I assume you use the Split() Function to achieve this??
Ive tried somethig basic like this;
But I get error "Run-Time Error 13; Type mismatch"
Basically I need a string with "1.jpg" only. Ive looked all over for this but nothing seemed to work for me.
I assume you use the Split() Function to achieve this??
Ive tried somethig basic like this;
Code:
msgbox Split("C:\Pictures\1.jpg","\")
But I get error "Run-Time Error 13; Type mismatch"
Basically I need a string with "1.jpg" only. Ive looked all over for this but nothing seemed to work for me.