Custom MsgBox Errors

a.sinatra

quik
Local time
Today, 08:16
Joined
Jan 10, 2004
Messages
262
Alright i was wondering if i could call a module that could place a custom title for each MsgBox

Code:
    MsgBox Err.Description, , " BindingStance v1"

Instead of having to manually write " BindingStance v1", i want it to be able to call a module.

Thank you
________
Justin Bieber Fans
 
Last edited:
Even easier; declare a public constant in a module.

Code:
Public Const ErrTitle = "BindingStance v1"

Then, whenever you want:

Code:
MsgBox Err.Description, vbOkOnly, ErrTitle
 

Users who are viewing this thread

Back
Top Bottom