Thread: Call Statement
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Don Guillett Don Guillett is offline
external usenet poster
 
Posts: 10,124
Default Call Statement


sub docall()
xxxxxxxx
ssss
call repeat
ssssss
ssss
call repeat
end sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"caldog" wrote in message
...
I know that there is something that is call a 'call statement', but I do
not
know how its work. In my code I duplicate about 10 lines in five
different
sections of code. What I was wanting to do, was locate the code that I
use
quite a bit in one section and then just ask for when I need it.

Thanks