Hi,
I am trying to extract the filename of a file used to import data using the application.getfilename function.
it returns the full path which is perfect for importing my data, but now i need to reduce the C:\data\imports\blaablaa\UKDATA.csv into purly UKDATA.csv
I dont want to restrict the path where the csv files are stored otherwise i would simply use a basic right$ command and specifiy the length of the known path to seperate path from filename.
Is there any ideas how i can achieve this, i feel i kind of need a FIND command which starts right to left rather than left to right.
any help appretiated.
Bookmarks