View Single Post
 
Old 03-08-2014, 01:29 PM
Ulodesk Ulodesk is offline Windows 7 64bit Office 2013
Word 2013 Expert Cert
 
Join Date: Sep 2009
Location: Virginia
Posts: 872
Ulodesk is on a distinguished road
Default So very close!

I hope you can still laugh, rather than mutter something, at my evident talent for confusion. Your latest explanation was very helpful. Over the last couple of hours, I have looked carefully at all the variables, simplified the document to make it clearer for me, and tried to get everything exactly right. I have apparently only one small issue remaining.

Let me explain first, that the source doc now has four paragraphs, bookmarked 1-4 in order: 1 & 3 have English text with their respective bookmark numbers, 2 & 4 are empty. I have been over and over the macros, the doc properties, and the checkbox properties and can't solve the following mystery (I am attaching a quick reference table of settings that I hope will save you the time of looking into the folder containing my current documents.):

If checkbox 1 brings in the text when checked, it brings in paragraph 3, not 1. The result is the same as checking checkbox 2. When I get checkbox 1 to bring in paragraph 1, as it should, it will only do it when it is unchecked; the checked state brings in a blank. OK, how am I doing this:

Your last response explained how to change the value of "+ (digit)" at the end of the macro line, to reverse the checked and unchecked results. Checkbox 2 works fine this way with that value as 2. However, if the value in the macro for checkbox 1 is 2, it returns paragraph 3; if the value is one, it returns paragraph one, but only when unchecked.

In the attached folder, I have left both boxes unchecked, with checkbox 1 returning paragraph 3.

Please, what am I not seeing here?

Cordially,
Philip
Attached Files
File Type: zip CheckBox Conditional Text (2).zip (34.0 KB, 17 views)
File Type: docx Quick ref table.docx (20.2 KB, 12 views)
Reply With Quote