How to write a rolling lottery program with excel vba

Add an ActiveX control, then double-click to enter the VBA code editing interface, paste the code point button below, and display the random number in 1- 100 in the cell A 1. Code: dim k is the boolean private subcommand button1_ mouseup (byvalbutton is an integer, byval shift is an integer, byval x is a single, ...