Sub, by definition, does not return a value. You must use a
Function declaration to return a value.
If you do not intend to return a value, remove the unnecessary statement. Otherwise, change your declaration from
Sub to a
Function so that your value may be properly returned.