A quick & easy fix would be to attach your "Num" value to an input box... something like:
Dim rngSel As Range
Dim Num As Double
Dim i As Long
Dim j As Long
Dim lRows As Long
Dim lCols As Long
Dim Arr() As Variant
Set rngSel = Selection
lRows = rngSel.Rows.Count
lCols = rngSel.Columns.Count
Num = 1 + 0.01 * InputBox("By what percentage would you like to increase the selected values?" & vbCrLf & "(e.g. To increase 20%, enter: 20)", "Select Percentage")
If rngSel.Count = 1 Then
rngSel = rngSel * Num
Else
Arr = rngSel
For i = 1 To lRows
For j = 1 To lCols
Arr(i, j) = Arr(i, j) * Num
Next j
Next i
rngSel.Value = Arr
End If
End Sub
Bookmarks