View Single Post
 
Old 03-01-2018, 07:32 PM
puff puff is offline Windows 7 64bit Office 2013
Advanced Beginner
 
Join Date: Apr 2017
Posts: 60
puff is on a distinguished road
Question

Quote:
Originally Posted by macropod View Post
You could employ a userform, with selectable options. See attached.

Note: the 3rd option runs the F/R code from https://www.msofficeforums.com/word-...er-number.html
I already understand how the checkboxes work in a userform. The problem I have now is how you efficiently code each scenario. For example, a userform with 3 options A., B., and C.. The tutorial I watched said that you need to specifically code for every combination: not only the 3 respective options but also like "A. and B."
If I have 5 checkboxes as a group, I will have to code for C(5,5)+C(5,4)+C(5,3)+C(5,2)+C(5,1)+C(5,0)=1+5+10+1 0+5+1=32 conditions. Is there a way to overpass this issue?
Reply With Quote