You are on page 1of 1

Write this code first-

X=MsgBox("Message Description",0+16,"Title")

1. You can write any number from 1,2,3 or 4 instead of 0 (before the '+' symbol)
Below is the meaning of these numbers:

0 = OK Button,
1 = OK / Cancel Button,
2 = Abort / Retry / Ignore Button,
3 = Yes / No / Cancel Button,
4 = Yes / No Button,
5 = Retry / Cancel Button

2. You can write 32 or 48 or 64 instead of 16.


Below is the meaning of each number:

16 = Critical Icon,
32 = Help Icon,
48 = Warning Icon,
64 = Information Icon,

.vbs

You might also like