R
Randy L. Kendrick
I have an Excel model that is driven off cell A1 in the presentation
sheet. If you change the two-letter US State Abbreviation in A1, it
does Index Matches to populate the rest of the model with data from
other sheets related to that state. I need to create the following:
1. Display a UserForm with checkboxes to select the states to print
2. Cycle through each selected state by
a. Populating A1 on the presentation tab with the first state
selected
b. Print that page
c. Populate A1 with the next selected state
d. Print that page
e. Continue until all selected states are printed
I can create a user form with checkboxes tied to cells for TRUE or
FALSE. I do not know how to cycle through the list of TRUE values and
use the associated states to populate A1, nor do I know how to kick
off the printing and looping, nor how to end it.
Can anyone advise? I am not a guru at VBA at all, but have a fair
understanding of how some of it works. I used to be better at it, but
have not done VBA in quite a while, even though I rock at standard
Excel modelling.
Thanks in advance!
sheet. If you change the two-letter US State Abbreviation in A1, it
does Index Matches to populate the rest of the model with data from
other sheets related to that state. I need to create the following:
1. Display a UserForm with checkboxes to select the states to print
2. Cycle through each selected state by
a. Populating A1 on the presentation tab with the first state
selected
b. Print that page
c. Populate A1 with the next selected state
d. Print that page
e. Continue until all selected states are printed
I can create a user form with checkboxes tied to cells for TRUE or
FALSE. I do not know how to cycle through the list of TRUE values and
use the associated states to populate A1, nor do I know how to kick
off the printing and looping, nor how to end it.
Can anyone advise? I am not a guru at VBA at all, but have a fair
understanding of how some of it works. I used to be better at it, but
have not done VBA in quite a while, even though I rock at standard
Excel modelling.
Thanks in advance!