Are you trying to paste special|add a value in a cell or are you trying to
increment that range by an amount you want to enter--like the way you entered
the name?
I guessed that you wanted to specify the value--not the cell:
Option Explicit
Sub testme()
Dim myName As String
Dim RngToSearch As Range
Dim myFoundRng As Range
Dim FoundCell As Range
Dim FirstAddress As String
Dim DummyCell As Range
Dim QtyToAdd As Double
myName = InputBox(Prompt:="Enter a name")
If myName = "" Then
Exit Sub
End If
QtyToAdd = Application.InputBox(Prompt:="Enter a quantity to add", Type:=1)
If QtyToAdd = 0 Then
Exit Sub
End If
With ActiveSheet
Set RngToSearch = .Range("a:a")
Set DummyCell = .Cells.SpecialCells(xlCellTypeLastCell).Offset(1, 1)
End With
FirstAddress = ""
Set myFoundRng = Nothing
With RngToSearch
Set FoundCell = .Cells.Find(what:=myName, _
after:=.Cells(.Cells.Count), _
LookIn:=xlValues, _
lookat:=xlWhole, _
searchorder:=xlByRows, _
searchdirection:=xlNext, _
MatchCase:=False)
If FoundCell Is Nothing Then
MsgBox myName & " wasn't found!"
Else
FirstAddress = FoundCell.Address
Set myFoundRng = FoundCell.Offset(0, 7).Resize(1, 4) 'columns H:K
Do
Set FoundCell = .FindNext(after:=FoundCell)
If FoundCell.Address = FirstAddress Then
Exit Do
End If
Set myFoundRng = Union(myFoundRng, _
FoundCell.Offset(0, 7).Resize(1, 4))
Loop
With DummyCell
.Value = QtyToAdd
.Copy
End With
myFoundRng.PasteSpecial Paste:=xlPasteValues, _
operation:=xlPasteSpecialOperationAdd
DummyCell.ClearContents
'no need to select unless you really want
'myFoundRng.Select
End If
End With
End Sub
Jen wrote:
>
<<snipped>>
> Hi Dave,
>
> That's exactly what it should do! A charm!
>
> There is 1 more thing though ....
>
> What I wanted to do is:
> 1. I copy a cell with a number eg. 5
> 2. then run the macro to select my cells
> 3. Paste Special> Operation Multiply on the cells your macro selected.
>
> But it seems that when I run the macro... my copied value does not
> retain in teh memory...?
> Would it be possible to keep that?
> (or could the macro at the end of the selection process prompt me for
> a value to multiply it with?)
>
> Hope you can help once again!! 
> Jen
--
Dave Peterson