![]() |
|
#1
|
|||
|
|||
![]()
Hello all!
My goal is to get the source path for an image from an content control field without using VBA, in this respect it is not possible for me to use VBA, because the file would be a *.docm To explain it better... 1) in the content control field I get for instance the image link (https\\sharepoint.com\image.jpg) 2) this link should become the source path of an image that is already in the word file 3) without using VBA I don't know if that's possible without VBA (in which it would be very simple). I searched already for one hour and found no solution on the internet that would be somehow feasible for me... I played around if "IncludeImage" however, I couldn't manage it to solve my problem with that Thanks a lot helping a Word-brother out Cheers ![]() Thomas PS.: See attached jpg for better understanding |
#2
|
||||
|
||||
![]()
You can use VBA with docx files, too, by putting the code in the document's template...
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]()
Hello Paul
Thank you so much for replying me, however I've no idea how to do it apparently. When I save the code in the *.dotx the code is not there anymore in the *.docx. Can you explain further, if you are so kind? Kind regards Thomas |
#4
|
||||
|
||||
![]()
You would need to save the template in the .dotm (macro-enabled) format - then re-attach any existing documents you want to use the macro with to that template. Any new documents created from the dotm template will still default to the docx format, but they'll have full access to any macros in the dotm template..
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
![]()
Well, thanks Paul I figured it out by myself - amazing
thanks for your help |
#6
|
|||
|
|||
![]()
ohhh I just saw now your explanation as well...
THANKS A LOT Thomas |
![]() |
Tags |
content control, image link, no vba |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Display Image when Base64 code is inserted in content control | vas | Drawing and Graphics | 0 | 12-12-2018 08:53 AM |
![]() |
sylvio | Word VBA | 2 | 08-29-2017 04:08 AM |
![]() |
ajanson | Word | 3 | 08-15-2016 04:49 PM |
Have Text Entered in Content Control / PreDefined Field Populate Field in Footer | bzowk | Word | 1 | 04-14-2016 11:50 AM |
![]() |
ksigcajun | Word VBA | 4 | 10-13-2014 05:37 AM |