PDA

View Full Version : VBA procedure error messages



Roderick
11-05-2017, 01:46 PM
I'm writing some VBA procedures in a template for users in different countries: Germany, France and Finland.

I want to put error messages should a fault appear in a procedure and was wondering whether this piece of code would be presented to the user in their own language or would it always be in English? Or depend on the language pack they are using?

The code:

MsgBox Err.Description, vbCritical, Err.Number

Thanks.