Hi Sergey
Thanks for the codes.
I presume that the MakeFileNameValid can be used in each of the 3 parts and the file name individually, and then concatenated together should solve my problem.
Luckily I will not breach this limit as the 3 combo will be 35 max. chars. each and 50 chars for the filename.