Consider the following code. It is intended to go through each worksheet in the active workbook and write "IDS 331" in cell A1, "VBA" in cell A2, and the number of the current worksheet in cell A3. Each blank is numbered, e.g., match the numbered blanks to their answers. is the blank numbered 1, 2 is the blank numbered 2, etc. The goal is to Dim wsitem As counter As Integer counter = 1 For Each In 4 .Range("A1").Value = "IDS 331" 6 .Range("A2").Value = "VBA" 7_Range("A3").Value = counter counter = 8_+ 1 Next wsitem Answer the following 8 questions individually (each is worth 12.5% of the worth of this question). Note that different questions may have the same answer option. v What should be in the blank numbered 1? v What should be in the blank numbered 2? A. Range B. Dim C. Workbooks What should be in the blank numbered 3? D. Worksheet What should be in the blank numbered 4? E. Worksheets F. counter What should be in the blank numbered 5? What should be in the blank numbered 6? G. ActiveSheet What should be in the blank numbered 7? H. wsltem What should be in the blank numbered 8?

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
QUESTION 12
Consider the following code. It is intended to go through each worksheet in the active workbook and write "IDS 331" in cell
A1, "VBA" in cell A2, and the number of the current worksheet in cell A3.
Each blank is numbered, e.g
1
_is the blank numbered 1
is the blank numbered 2, etc. The goal is to
match the numbered blanks to their answers.
Dim wsltem As_1.
2_ counter As Integer
counter = 1
For Each
3_
In _4
.Range("A1").Value = "IDS 331"
6_.Range("A2").Value = "VBA"
.Range("A3").Value = counter
counter =
8_+ 1
Next wsitem
Answer the following 8 questions individually (each is worth 12.5% of the worth of this question). Note that different
questions may have the same answer option.
- v What should be in the blank numbered 1?
A. Range
B. Dim
C. Workbooks
D. Worksheet
E. Worksheets
v What should be in the blank numbered 2?
v What should be in the blank numbered 3?
v What should be in the blank numbered 4?
v What should be in the blank numbered 5?
F. counter
v What should be in the blank numbered 6?
G. ActiveSheet
v What should be in the blank numbered 7?
H. wsltem
v What should be in the blank numbered 8?
Transcribed Image Text:QUESTION 12 Consider the following code. It is intended to go through each worksheet in the active workbook and write "IDS 331" in cell A1, "VBA" in cell A2, and the number of the current worksheet in cell A3. Each blank is numbered, e.g 1 _is the blank numbered 1 is the blank numbered 2, etc. The goal is to match the numbered blanks to their answers. Dim wsltem As_1. 2_ counter As Integer counter = 1 For Each 3_ In _4 .Range("A1").Value = "IDS 331" 6_.Range("A2").Value = "VBA" .Range("A3").Value = counter counter = 8_+ 1 Next wsitem Answer the following 8 questions individually (each is worth 12.5% of the worth of this question). Note that different questions may have the same answer option. - v What should be in the blank numbered 1? A. Range B. Dim C. Workbooks D. Worksheet E. Worksheets v What should be in the blank numbered 2? v What should be in the blank numbered 3? v What should be in the blank numbered 4? v What should be in the blank numbered 5? F. counter v What should be in the blank numbered 6? G. ActiveSheet v What should be in the blank numbered 7? H. wsltem v What should be in the blank numbered 8?
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY