![]() |
|
#1
|
||||
|
||||
![]()
Hi Wries,
Assuming BoxA, BoxB & BoxC are the control names and not their captions, try: If Me.Controls("Box" & Element).Value = True PS: When posting code, please use the code tags. They're on the 'Go Advanced' tab.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#2
|
|||
|
|||
![]()
Many thanks macropod. It works perfectly and it will save me a hell lot of a time as that I don't have to put each scenario manually.
Kind regards, Wries |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
andrei | Excel | 9 | 02-03-2012 03:40 AM |
How to capture start and ending Ref. Nos. in an array | KIM SOLIS | Excel | 5 | 09-07-2011 07:43 AM |
Word doc bug when closing from userform command button click macro | Joe Patrick | Word | 1 | 07-05-2011 08:53 PM |
Command Line Argument | xJediDadx | Outlook | 1 | 02-21-2011 03:47 PM |
![]() |
Vivi | Word VBA | 1 | 01-27-2010 07:03 AM |