Let’s create a digital tic tac toe game in Microsoft Excel!
We’ll use Excel in desktop mode, add the developer tab, and command buttons. It’ll be FUN! Let’s do it!
Here’s the steps to do it:
12. Do the rest, just copy-paste the code and change it to CommandButton numbers from 1 to 2 then 3, and so on. So “CommandButton2.Caption…”
13. Then check it out as you go by hitting F5.
14. Create a Restart Button with another commandbutton
a. Click in one of the command buttons, then View, Toolbar, then CommandButton
b. Draw another commandbutton
i. Change caption to “Restart”
ii. Double click in it and paste this code in the sub:
15. Run F5 and see if the Restart button works
16. Create a Start Tic Tac Toe button
a. Click Developer’s Tab, Controls, Insert, Under ActiveX Controls find the CommandButton
b. Right Click CommandButton, Click Properties, Change Caption to “Start Tic Tac Toe”.
c. Double click the button, (design mode must be enabled). Copy paste this code in the sub: Tttfrm.show
d. Close the coding window, turn off design mode
Here are a few diagrams showing the different parts of Microsoft Excel. Be sure you know each of these vocabulary words. We’ll have some Blooket Games at the end!
Try playing these Blooket sets now that you’ve used Excel a little bit.
Learn By Doing – MOS Excel 2016_Lesson 1 | Blooket
We hope you enjoyed learning about creating games in Microsoft Office!
You must be logged in to post a comment.