Jean-Paul
Jean-Paul

Reputation: 21

Accented characters in MsgBox and Project Object in Office 2021 not showing

All language settings (Windows 10, Office 2021) are set to French.

MsgBox does not display the accents.

In the VB Editor:
enter image description here

At run time:
enter image description here

In the Project Object list:
enter image description here

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

Answers (2)

Jean-Paul
Jean-Paul

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

Gustav
Gustav

Reputation: 55981

Check your localisation in Windows settings. Mine is Danish and displays nicely your messagebox:

enter image description here

Upvotes: 0

Related Questions