I have searched a lot the web but I couldn't find a solution on the following problem:
In Cell A1, I have inserted a date.
For example 42736
, (which is 1 January 2017).
In Cell B1, I want to display the following:
"The result is: January 2017"
In Cell B1, the formula is:
="The result is: " &TEXT(A1;"MMMM YYYY")
However, because my computer has German regional format, I have the following two issues:
1) The name of the month is in German and not in English
2) It does not understand the YYYY.
For the second issue, I have found a solution of creating the following UDF:
' standard date format regardless of excel language
Public Function STDTEXT$(ByVal Value, ByVal strFormat)
STDTEXT = VBA.Format$(Value, strFormat)
End Function
Question
Is there any solution to overcome the first obstacle?
I want to return the month name in English, regardless of the local regional settings of the user.
Regards
Thanasis