You are on page 1of 2

Good evening everyone.

My part is to explain activity 1 and 2 while activity


3 and 4 will be explain by Ivy ecat. Activity 1 is about creating a message
box that will appear on the sheet once we click the command button. As you
can see in your screen there are 3 commands button namely, akic number 1
and so on. If I click the first akic or the first command button, the message
that will appear is “The first akic is Minglana. The second command button it
shows a message of “the second akic is ecat. The same with the 3 rd command
button, the message that will appear is “the third akic is alder. Just a little
recap for what we discussed last meeting, the purpose of message box is for
us to inform our users of our program. Kumbaga this is a dialog. This
activity is a little more advanced message because we put a range or a text sa
cell to appear in message box once the command button is pressed. To see
how we possibly did this, right click an command button to see the code. So
diri makita an msg box na the first akic is , then an sunod na text is placed in
range B7 which is an Minglana. Now, in order for this message to link with
range B7 we use the “&” as operator link or to join two strings. And the same
goes to the second and 3rd command button. For the font styles, again sa
properties ra gehapon.

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.

In activtity 4. Activity 4 is about inputbox function. When an input


box displays, it presents a request to the user who can then provide a value.
After using the input box, the user can change his or her mind and press Esc
or click Cancel. If the user provided a value and want to acknowledge it, he
or she can click OK or press Enter

You might also like