GoConqr has a new look! Let us know what you think.

Notes

For...Next Loop Example

Kennadie Long Business/Economics English 1 page

Content of the notes (1)

Page 1

Example:

Dim Start As Integer

ForStart =1 To6

Do

ActiveCell.Value=InputBox(“Please enter a valid item number”, “Item Number”)

Loop Until ActiveCell.Offset(0, 1).Value <> "Not valid item

number"

ActiveCell.Offset(0, 2).Select

ActiveCell.Value = InputBox("Please enter the quantity", Quantity")

ActiveCell.Offset(1, -2).Select

DimResponse As String

Response = MsgBox("Do you have another item to invoice?", vbYesNo,“Another Item?”)

IfResponse = vbNo ThenExit For

NextStart

Information

Description
Business/Economics Note on For...Next Loop Example, created by Kennadie Long on 29/11/2018.
Created by
Kennadie Long
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?