![]() |
|
#1
|
|||
|
|||
![]() Quote:
Now I'm thoroughly confused. I've never used bookmarks so I guess I need to learn those to understand your example better. I understand the basics of your code but I can't seem to see how the code knows where to place the data in the document. I imagine with your example I wouldn't be using contentcontrols to house these values. Though I would still need some for the other data not related to the Drawing Number. Can I assume I could still use my template with your example? Thanks for the input. This is definitely a learning experience. |
#2
|
||||
|
||||
![]() Quote:
Quote:
You previously mentioned: Quote:
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]() Quote:
Am I correct in assuming that the following code snippet is what would actually populate the various CC's in my form? Code:
For i = 0 To UBound(Split(StrDetails, "|")) ActiveDocument.SelectContentControlsByTitle("Value" & i)(1).Range.Text = Split(StrDetails, "|")(i) Next Code:
For i = 0 to UBound(Split(StrDetails, "|")) ActiveDocument.SelectContentControlsByTag("Value" & i)(1).Range.Text = Split(StrDetails, "|")(i) Next I really appreciate the time you are taking to assist me in this matter. I'm learning a lot and I sincerely appreciate your continuing effort. ![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
VBA ppt ComboBox behaivor: 1.OnFocus change value 2. get dropdownlist doesn't disappear after mousec | janism22 | PowerPoint | 2 | 03-26-2015 12:35 AM |
ActiveDocument.ContentControls(ID) not working | Tejas.T | Word VBA | 3 | 03-09-2015 06:50 PM |
Updating grouped ContentControls in Word 2010 | MGerhard | Word VBA | 3 | 08-04-2014 02:34 AM |
![]() |
ScottA | Excel Programming | 3 | 05-06-2014 12:49 PM |
XML parsing & Object variable not set (Error 91) | tinfanide | Excel Programming | 0 | 12-29-2011 08:43 AM |