
Application.ScreenUpdating = False
VALORE = ""
XX = ""
For i = 1 To 3
10 X = InputBox("INSERISCI UN VALORE NUMERICO")
If X = "" Then
Exit Sub
End If
XX = IsNumeric(X)
If XX = False Then
MsgBox "IL VALORE INSERITO NON E' NUMERICO"
GoTo 10
End If
VALORE = Trim(VALORE & " " & Range("A" & X).Value)
Next i
Application.ScreenUpdating = True
Range("B1") = VALORE
|
Dim X As String
Dim y As String
X = InputBox("INIZIO")
y = InputBox("FINE")
Range("A1").Select
Do
ActiveCell.Offset(0, 1).Select
Loop Until ActiveCell.Value = X
VALORE = ActiveCell.Value * X
Do
ActiveCell.Offset(0, 1).Select
VALORE = VALORE * ActiveCell.Offset
Loop Until ActiveCell.Value = y
Range("A8").Value = VALORE
Range("A8").NumberFormat = "#,##0"
|
Application.ScreenUpdating = False
X = InputBox("INIZIO")
y = InputBox("FINE")
X = CInt(X)
y = CInt(y)
valore = Cells(1, X).Value * Cells(1, y).Value
Application.ScreenUpdating = True
Range("A8").Value = valore
Range("A8").NumberFormat = "#,##0" |
Application.ScreenUpdating = False
X = InputBox("INIZIO")
y = InputBox("FINE")
X = CInt(X)
y = CInt(y)
valore = Cells(1, X).Value * Cells(1, y).Value
Application.ScreenUpdating = True
Range("A8").Value = valore
Range("A8").NumberFormat = "#,##0.00" |
Application.ScreenUpdating = False
X = InputBox("INIZIO")
Y = InputBox("FINE")
X = CInt(X)
Y = CInt(Y)
Cells(1, Y).Font.Bold = True
VALORE = 0
Cells(1, X).Select
VALORE = ActiveCell.Value
Do
ActiveCell.Offset(0, 1).Select
VALORE = VALORE * ActiveCell.Value
Loop Until ActiveCell.Font.Bold = True
Cells(1, Y).Font.Bold = False
Application.ScreenUpdating = True
Range("A8").Value = VALORE
Range("A8").NumberFormat = "#,##0.00"
|
