[Word] Re: Embed Image in Template

Phil Rabichow phrab at socal.rr.com
Wed Mar 10 16:26:43 CST 2010


Hi Bryan:
Yes, Autotext entries live in a template.

--
Phil



Bryan Carbonnell wrote:
> Pieter,
>
> Geez, here I go showing how "out" of it I am...
>
> Do AutoText entries actually live in the dot?
>
> Bryan
>
> On 3/10/10, Pieter Janssens <pieter.mj.janssens at gmail.com> wrote:
>   
>> hi Bryan,
>>
>> if you're actually using a template (*.dot file), you could also use an
>> autotext entry.
>> if that fails or the document must not be a template, you could still
>> recreate the icon from code with base64 formatted data inside a vba module.
>> might not sit well with many anti-virus software though.
>>
>> greetings, pieter.
>>
>> On 9/03/2010 16:21, Simon Jones wrote:
>>     
>>> Bryan,
>>>
>>> Some ideas:
>>> Use the Hidden Text attribute to hide the icon until you need it.
>>> Put it somewhere it won't be disturbed such as on a title page.
>>> Use a bookmark or some other named item so you can get to the icon easily.
>>> Copy (not move) the icon from its hidden place to where it is needed so
>>> you can also get another copy from the hidden place if/when you need it.
>>>
>>> Regards,
>>> Simon Jones
>>> MillStream Designs Ltd
>>> Independent IT Consultants
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: word-bounces at dcomp.com [mailto:word-bounces at dcomp.com] On Behalf Of
>>> Bryan Carbonnell
>>> Sent: 09 March 2010 15:04
>>> To: DailyWordTips
>>> Subject: [Word] Embed Image in Template
>>>
>>> Hi everyone! Long time no see.
>>>
>>> It's been WAY too long since I've done any coding or working with Word and
>>> it is unfortunately showing :(
>>>
>>> I am creating a template for instructor lesson plans, and one of the
>>> things I need to do is style a paragraph.
>>>
>>> Easy enough, but a style just won't completely work. I need to include a
>>> leading icon and text with the style
>>>
>>> IOW, the end result needs to be like:
>>>
>>> Note: (ICON)<TAB>  {User Text Here}
>>>
>>> Well, I can get the style, using styles :) I can insert the text
>>> Note:<TAB>  using code.
>>>
>>> What I'm having trouble doing is inserting the icon. The easy way would be
>>> to have the icon in the same location on the network so that everyone can
>>> insert it from there. Well, that's not going to work unfortunately since
>>> not everyone has access to the network, so it has to be completely stand
>>> alone.
>>>
>>> Is there a way to embed the icon into the template, and then use code to
>>> insert it into the doc when and where I need it?
>>>
>>> A couple little hooks:
>>> 1) It can't be visible anywhere in the doc until it gets used
>>> 2) It may or may not be used at all in any lesson plan
>>> 3) If it does get used, it may be once, twice, 7324 times per doc, or
>>> anywhere in between. Or even more for that matter.
>>> 4) I'm stuck at Word 2K
>>>
>>> Help!!! My coding brain has turned to complete mush :(
>>>
>>> --
>>> Bryan Carbonnell - carbonnb at gmail.com
>>> Life's journey is not to arrive at the grave safely in a well preserved
>>> body, but rather to skid in sideways, totally worn out, shouting "What a
>>> great ride!"
>>>
>>> Please consider the environment before printing this e-mail.
>>>
>>>
>>> MillStream Designs Limited
>>> Tel: +44 1994 419726
>>>
>>> Registered in England and Wales
>>> Registered Office:  Foel Farm, Glandwr, Whitland SA34 0UD
>>> Registration No: 03717708
>>> VAT Registration No: GB 728 9598 65
>>> _______________________________________________
>>> Word mailing list
>>> Word at dcomp.com
>>> http://lists.dcomp.com/mailman/listinfo/word
>>>
>>>       
>> _______________________________________________
>> Word mailing list
>> Word at dcomp.com
>> http://lists.dcomp.com/mailman/listinfo/word
>>
>>     
>
>   


More information about the Word mailing list