Forum Replies Created
Boyd White March 27, 2019 at 10:25 pm
Reply To: Multiple Entry Tags Add TextMarch 27, 2019 at 10:25 pmParticipants 0Replies 1Last Activity 2 years, 1 month ago
I have to admit…I am using the ancient Xmetal 2.1
I tried your recommendation Derek and I imagine it would work on newer versions; but not on 2.1
Your recommendation gave me some ideas gave me some ideas but none of them panned out…I just was not able to get the Start and Stop range or cell/entry count of what I selected in a Table Column.
I was able to create a workaround with a couple Input Boxes from the user for anyone interested:
iRows = cint(inputbox(“How Many Cells Downward From The Current Cell Do You Want To Indent: “, “Data Input”))
iIndent = cint(inputbox(“How Many &tab; Entities To Apply In Each Cell: “, “Data Input”))
strTabs = “”
For i = 1 To iIndent
strTabs = strTabs & “&tab;”
For iCountRows = 1 To iRows
NextBoyd White March 13, 2019 at 1:11 pm
Reply To: Multiple Entry Tags Add TextMarch 13, 2019 at 1:11 pmParticipants 0Replies 1Last Activity 2 years, 1 month ago
This will show me every entry's content in a column:
Set ttable = ActiveDocument.documentElement
Set tgrouplist = ttable.getelementsbytagname(“tgroup”)
For j = 0 To tentrylist.length-1
msgbox(“contents = ” + contents)
But I don't need every entry's value…I need only those entry tags that have been selected in the column. I have to add a &tab; at the front of their content.
Anybody have some clues. This has turned out to be harder that I would have expected. In R&Ding I have not even been able to get the Range Start and Range End to maybe exclude those outside during the loop of “j” above.
Thanks in advance.