You need to click the Debug button to see which line of the code is hitting the error.
The code can be altered to permanently delete content instead of hiding it. If you do that, you can't then revisit the dropdown and make a different choice because the content that would show would be already deleted.
Your sample doc basically lists two separate blocks. Remove the paragraph marks from between block 1. Do the same for the second set of three CCs. Then when the code runs, you will only see one sentence and not the hidden ones with empty paragraphs.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|