5
Let’s Get Script ing
In tro duc tion
In Chapter 4 you learned how to ac cess the VBA Ed itor and write a simple
script. In this chapter you will begin to learn a few more ba sic scripts, in cluding
some scripts that allow you to get in put from the user.
In the pro cess, you will
learn a little bit about variables, which
are used to store in formation, so you can
use it when you give feedback. What good would it be to ask for the user’s name,
if you don’t use it as part of the feedback? You will get a pre view of how to use
some of the same scripts
to get other kinds of in put, such as answers to short-
answer questions. Fi nally, in this chap ter you will learn some details about run -
ning your scripts and
associating them with buttons, including how to associate a
button with more than one script.
Do'stlaringiz bilan baham: