![]() |
#2
|
||||
|
||||
![]()
It is not clear what you are trying to do, but what you describe is a basic loop process e.g. Run the sub Example to call the other sub three times. If you want more information you will have to supply more detail.
Code:
Sub Example() DoSomething 3 End Sub Sub DoSomething(x As Long) Dim y As Long For y = 1 To x 'do stuff e.g. MsgBox y Next y End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
eldublu | Outlook | 1 | 03-07-2014 10:55 AM |
![]() |
Bibi_D | Word | 2 | 07-29-2013 01:53 AM |
![]() |
simville02 | Word Tables | 1 | 01-31-2013 11:12 PM |
![]() |
Hwyn | Excel Programming | 5 | 01-18-2012 08:02 AM |
Macro or routine required | evanhughes | Outlook | 0 | 11-18-2011 02:56 AM |