My filename is like this e.g. abc-253-sffdd.xlsm. I want only the number from the filename as my return value. in the above example I would like my return value to be 253.
In below example.
drvd951sdfdfd.xlsm is my file name. the return value should be 951.
Whatever number is there in the filename is contiguous. There are no noncontinguous numbers. there isn't 9 5 and 1 separately. Hope i am able to explain it clearly.
Please assist on the same.
In below example.
drvd951sdfdfd.xlsm is my file name. the return value should be 951.
Whatever number is there in the filename is contiguous. There are no noncontinguous numbers. there isn't 9 5 and 1 separately. Hope i am able to explain it clearly.
Please assist on the same.