Try something like the following:
Dim NumRuns As Long
Dim Ndx As Long
NumRuns = Application.InputBox(prompt:="Enter number of times.",
_
Type:=1)
For Ndx = 1 To NumRuns
' run your macro code here
Next Ndx
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
"Deedee" wrote in message
...
Can anyone help...Please.... I need a macro that asks for the
user to input
the number of times it needs to run. Thanks for any help in
advance