Reputation: 21
All language settings (Windows 10, Office 2021) are set to French.
MsgBox does not display the accents.
Where is the setting if existing?
This apparently comes from the VBA Editor since if I build the same code on another PC with Office 2016, the MsgBox is well displayed on both PCs.
If the code comes from the PC that faces the issue, the MsgBox is wrongly displayed on both PCs.
Is there a way to set a language in the VBE?
Upvotes: 0
Views: 113
Reputation: 21
I completely re-installed Windowd 10 from the Dell Computer, removed pre-installed Microsoft 365 (Office) and all Microsoft Office 365 in 4 or 5 languages, re-installed Office 2021 and eventually the problem is fixed !
I strongly suspect these Microsoft 365 things to be the cause of the problem.
Upvotes: 0
Reputation: 55981
Check your localisation in Windows settings. Mine is Danish and displays nicely your messagebox:
Upvotes: 0