Professional Documents
Culture Documents
And we done for activity 1. Lets move to second activity, we just placed a
new sheet to perform the next activity para 1 file ra sija and less hassle. Okay
the activity 2 is still a message box but a line in a message na. If we want to
put more than one message in box and we want to placed spaces each
message then we will use new line in a message. If I click this command
button namely, “Team akic” the result that will appear on the sheet is our
names of the group the first line is --- the second is – and the 3 rd is ---. How
we did this? Simply pag mag add kita new line in a message we will input the
code “Vbnewline” to check, lets go to the code. So this is how a new line in a
message is done. Mag add ra kita og & and Vbnewline. This is Mitch
Minglana, explaining the activity 1 and 2. The next is Ms ecat. Thank you.
The 3rd activity is about msgbox function in which it displays a message box
and waits for the user to click a button and then an action is performed based
o the button clicked by the user. So if I click this command button here in the
worksheet it will display a message box and set of icons which is kaning yes
or no. If I click the no button nothing happens. But if I click the yes button,
all the texts entered sa sheets ky ma cleared sija. How we did this? Lets check
the code.
The MsgBox function, when using parentheses, has three arguments. The
first part is used for the message in the message box. Use the second part to
specify which buttons and icons you want to appear in the message box. The
third part is displayed in the title bar of the message box. So am adtu sa
activtity 3.