![]() |
#1
|
|||
|
|||
![]()
Hi
I have to produce Word templates for 4 different sections in our business Many documents are the same differentiated only by the logo that is displayed and it would reduce the number of documents I create if I could dynamically show the correct logo using an IF statement and then picking the correct picture url, http://xxxx.com/image1.png, http://xxxx.com/image2.png This all needs to be as a Word field!! Not as a VBA module. So..1. Assuming I can find a criteria to compare "IF..", how would I bring back one of, say, three different logos from urls and place them at the head of the document? Can pictures also be added with formatting? Size, In Front of Text are the main ones Thanks |
#2
|
||||
|
||||
![]()
Not going to happen - at least not reliably. Whatever you do with field coding and without VBA, all 4 logos would remain in any document created from the template. What's the aversion to VBA?
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
||||
|
||||
![]()
You might want to explore Building Block Content Controls for a drop-down selectable solution that doesn't need VBA.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#4
|
|||
|
|||
![]()
Actually, maybe VBA might be an answer if anyone can advise how to code it (please)
Initial aversion is because I using prewritten templates by a supplier and I'm not sure if new VBA will 'break' their code Didn't understand the building block comment PS, the document is locked from user editing, hence they wouldn't be able to modify using drop downs (or anything) when they open the document |
#5
|
||||
|
||||
![]()
If "the document is locked from user editing" as you say, it's difficult to see how you're going to add a logo to it. That said, I believe what you're referring to as being "locked from user editing" is the template, rather than the document created from it; perhaps you could check that.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#6
|
|||
|
|||
![]()
Hi it's all a little bit complex..
The document template I work with is a pre-built template by our supplier. I populate lots of 'maul merge' type codes into it (they are not mail merge code in actuality but special tags that will get populated two steps on when a user requests a report to be run) |
#7
|
||||
|
||||
![]()
That has no necessary connection with your "the document is locked from user editing" statement.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#8
|
|||
|
|||
![]()
The document is populated with special tags, then an included VBA script is run to create essentially a HTM version of the document
Which is uploaded to a remote folder When the system (An online claims system) is being used by a user and want a report, they click a button and the system reconstructs the Word document, but this time with all the field data populated from the system. The front page of reports (including header/footer/logos) contains auditable information and has to be locked from user editing There are two bits of Word code in the document currently. One updates the SAVEDATE with 'today's' date and another checks to see if the Filename starts "DRAFT..." and, if so displays DRAFT in a text box behind the report text. So, these bits of code work and in the locked sections, probably because the document has just been created and saved, which updates the fields That's why I was hoping the "IncludePicture' field would be more flexible |
#9
|
||||
|
||||
![]()
In that case, I suggest you contact the owners of the system that produces these reports and have them integrate the additional functionality into it. Without access to the documents and the underlying code, I'd be loathe to start developing that would be incompatible with what you already have.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#10
|
|||
|
|||
![]()
Paul
Thanks I appreciate your comments. It will probably need to go back to the suppliers, but our first port of call was to see if we could do something ourselves to speed things up; to see if Word itself (and Word fields) could supply what we needed |
![]() |
Tags |
conditional, pictures |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
blexann | PowerPoint | 1 | 11-03-2016 08:55 AM |
![]() |
ASW122 | Mail Merge | 5 | 07-14-2014 09:35 PM |
Use logos on name badges | Stonely | Word | 6 | 09-18-2012 08:56 AM |
![]() |
acappella | Word | 3 | 07-24-2012 03:28 PM |
Move Picture by picture name, rename picture by picture name | CatMan | PowerPoint | 2 | 04-18-2012 12:21 PM |