I have a routine that will create multiple worksheets within a workbook and name these worksheets based upon certain data.
However if an invalid character is in the data, my code will crash.
Does anyone have a function which will strip a variable of unusable characters for naming a worksheet?
Example:
"This/Name" is invalid. I'd like to turn this into "This-Name".
Thanks