Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Autotext (Building Blocks?) - 2007
Any ideas how to copy a whole load of autotext entries from one template to
another? Thanks. Sue |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Autotext (Building Blocks?) - 2007
I just looked in the Building Block Organiser (under Insert - Quick Parts)
and used Edit Properties on a BB to alter the template in which is is stored (I made a custom BB template by copying the original and renaming and removing its contents). I recorded a macro while doing this and this code was recorded: - ActiveDocument.AttachedTemplate.BuildingBlockEntri es("BigDaveCCBBName"). _ Insert Whe=Selection.Range, RichText:=True NormalTemplate.BuildingBlockEntries.Add Name:="BigDaveCCBBName", Range:= _ Selection.Range ActiveDocument.AttachedTemplate.BuildingBlockEntri es("BigDaveCCBBName"). _ Insert Whe=Selection.Range, RichText:=True So, it looks to me that you need to use a VBA macro to iterate through the building blocks collection of one template and add them into another via pasting them into the activedocument and re-recording them. Not the best, is it?... -- Big Dave UK x "Sue C" wrote: Any ideas how to copy a whole load of autotext entries from one template to another? Thanks. Sue |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Autotext (Building Blocks?) - 2007
Auto-text isn't really stored in the document's template anymore. Rather,
auto-text is stored in a building blocks file, which is also .dotx. Basically, any .dotx file stored in the building blocks folder is now a building blocks file. I posted about that file location he http://blogs.3sharp.com/Blog/dougv/a...6/06/3319.aspx. When you save text as a quick part into a building blocks file, that text should be available to any document template. Also, you can more the building blocks files between computers. Doug -- Douglas Ryan VanBenthuysen Office System Solutions Specialist 3Sharp http://blogs.3sharp.com/Blog/dougv/ "Big Dave" wrote: I just looked in the Building Block Organiser (under Insert - Quick Parts) and used Edit Properties on a BB to alter the template in which is is stored (I made a custom BB template by copying the original and renaming and removing its contents). I recorded a macro while doing this and this code was recorded: - ActiveDocument.AttachedTemplate.BuildingBlockEntri es("BigDaveCCBBName"). _ Insert Whe=Selection.Range, RichText:=True NormalTemplate.BuildingBlockEntries.Add Name:="BigDaveCCBBName", Range:= _ Selection.Range ActiveDocument.AttachedTemplate.BuildingBlockEntri es("BigDaveCCBBName"). _ Insert Whe=Selection.Range, RichText:=True So, it looks to me that you need to use a VBA macro to iterate through the building blocks collection of one template and add them into another via pasting them into the activedocument and re-recording them. Not the best, is it?... -- Big Dave UK x "Sue C" wrote: Any ideas how to copy a whole load of autotext entries from one template to another? Thanks. Sue |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Autotext (Building Blocks?) - 2007
Your answer oh so nearly gets me where I want to be!
The situation is this: I have about 15 templates, all of which need to use the same selection of autotext. There are almost 100 autotext entries, some of which are full paragraphs. The templates are held on a drive that is accessible by several users, all of whom need to be able to use the templates, and the autotext. It seems to me that I can either save the autotext (which I will continue to call autotext not a building block, because I am a grown up at work not a small child in the nursery) within the template, which means all users can use it, but only in that specific template, so the whole thing will need setting up 15 times. Or within the building blocks file which means I can use it within all of the templates, but none of the other users can access it. How do I copy the autotext between a/ templates and b/ users. Just to complicate the issue even further, some users are on 2007 and others on 2003. Heeeeeeeeeeelllllllp me please! Thanks. Sue "DougieVan" wrote: Auto-text isn't really stored in the document's template anymore. Rather, auto-text is stored in a building blocks file, which is also .dotx. Basically, any .dotx file stored in the building blocks folder is now a building blocks file. I posted about that file location he http://blogs.3sharp.com/Blog/dougv/a...6/06/3319.aspx. When you save text as a quick part into a building blocks file, that text should be available to any document template. Also, you can more the building blocks files between computers. Doug -- Douglas Ryan VanBenthuysen Office System Solutions Specialist 3Sharp http://blogs.3sharp.com/Blog/dougv/ "Big Dave" wrote: I just looked in the Building Block Organiser (under Insert - Quick Parts) and used Edit Properties on a BB to alter the template in which is is stored (I made a custom BB template by copying the original and renaming and removing its contents). I recorded a macro while doing this and this code was recorded: - ActiveDocument.AttachedTemplate.BuildingBlockEntri es("BigDaveCCBBName"). _ Insert Whe=Selection.Range, RichText:=True NormalTemplate.BuildingBlockEntries.Add Name:="BigDaveCCBBName", Range:= _ Selection.Range ActiveDocument.AttachedTemplate.BuildingBlockEntri es("BigDaveCCBBName"). _ Insert Whe=Selection.Range, RichText:=True So, it looks to me that you need to use a VBA macro to iterate through the building blocks collection of one template and add them into another via pasting them into the activedocument and re-recording them. Not the best, is it?... -- Big Dave UK x "Sue C" wrote: Any ideas how to copy a whole load of autotext entries from one template to another? Thanks. Sue |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Autotext (Building Blocks?) - 2007
One more thing ... periodically things will need amending within the autotext
entries, so I really need as few places as possible to go to to effect these changes. Can the building blocks file location simply be changed to a server location that all machines access? I've done this with the template location. Thanks again. "Sue C" wrote: Your answer oh so nearly gets me where I want to be! The situation is this: I have about 15 templates, all of which need to use the same selection of autotext. There are almost 100 autotext entries, some of which are full paragraphs. The templates are held on a drive that is accessible by several users, all of whom need to be able to use the templates, and the autotext. It seems to me that I can either save the autotext (which I will continue to call autotext not a building block, because I am a grown up at work not a small child in the nursery) within the template, which means all users can use it, but only in that specific template, so the whole thing will need setting up 15 times. Or within the building blocks file which means I can use it within all of the templates, but none of the other users can access it. How do I copy the autotext between a/ templates and b/ users. Just to complicate the issue even further, some users are on 2007 and others on 2003. Heeeeeeeeeeelllllllp me please! Thanks. Sue "DougieVan" wrote: Auto-text isn't really stored in the document's template anymore. Rather, auto-text is stored in a building blocks file, which is also .dotx. Basically, any .dotx file stored in the building blocks folder is now a building blocks file. I posted about that file location he http://blogs.3sharp.com/Blog/dougv/a...6/06/3319.aspx. When you save text as a quick part into a building blocks file, that text should be available to any document template. Also, you can more the building blocks files between computers. Doug -- Douglas Ryan VanBenthuysen Office System Solutions Specialist 3Sharp http://blogs.3sharp.com/Blog/dougv/ "Big Dave" wrote: I just looked in the Building Block Organiser (under Insert - Quick Parts) and used Edit Properties on a BB to alter the template in which is is stored (I made a custom BB template by copying the original and renaming and removing its contents). I recorded a macro while doing this and this code was recorded: - ActiveDocument.AttachedTemplate.BuildingBlockEntri es("BigDaveCCBBName"). _ Insert Whe=Selection.Range, RichText:=True NormalTemplate.BuildingBlockEntries.Add Name:="BigDaveCCBBName", Range:= _ Selection.Range ActiveDocument.AttachedTemplate.BuildingBlockEntri es("BigDaveCCBBName"). _ Insert Whe=Selection.Range, RichText:=True So, it looks to me that you need to use a VBA macro to iterate through the building blocks collection of one template and add them into another via pasting them into the activedocument and re-recording them. Not the best, is it?... -- Big Dave UK x "Sue C" wrote: Any ideas how to copy a whole load of autotext entries from one template to another? Thanks. Sue |
#6
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Autotext (Building Blocks?) - 2007
As far as I know you cannot change the location of the building blocks folder
to a server location. Here's what I would do if I were you: 1. Create a new template in the building blocks folder called "CompanyBuildingBlocks" or something like that. 2. Add all the auto text items to that building blocks file as quick parts. 3. Copy that file to the building blocks folder of all machines in your organization (this can be automated, I'm sure). 4. When you make updates, you will have to copy it out again. I'm hoping that MS soon makes it possible to designate a network location for building blocks (and the Master Source List, for that matter), but for now you'll have to deal with this annoyance. Doug -- Douglas Ryan VanBenthuysen Office System Solutions Specialist 3Sharp http://blogs.3sharp.com/Blog/dougv/ "Sue C" wrote: One more thing ... periodically things will need amending within the autotext entries, so I really need as few places as possible to go to to effect these changes. Can the building blocks file location simply be changed to a server location that all machines access? I've done this with the template location. Thanks again. "Sue C" wrote: Your answer oh so nearly gets me where I want to be! The situation is this: I have about 15 templates, all of which need to use the same selection of autotext. There are almost 100 autotext entries, some of which are full paragraphs. The templates are held on a drive that is accessible by several users, all of whom need to be able to use the templates, and the autotext. It seems to me that I can either save the autotext (which I will continue to call autotext not a building block, because I am a grown up at work not a small child in the nursery) within the template, which means all users can use it, but only in that specific template, so the whole thing will need setting up 15 times. Or within the building blocks file which means I can use it within all of the templates, but none of the other users can access it. How do I copy the autotext between a/ templates and b/ users. Just to complicate the issue even further, some users are on 2007 and others on 2003. Heeeeeeeeeeelllllllp me please! Thanks. Sue "DougieVan" wrote: Auto-text isn't really stored in the document's template anymore. Rather, auto-text is stored in a building blocks file, which is also .dotx. Basically, any .dotx file stored in the building blocks folder is now a building blocks file. I posted about that file location he http://blogs.3sharp.com/Blog/dougv/a...6/06/3319.aspx. When you save text as a quick part into a building blocks file, that text should be available to any document template. Also, you can more the building blocks files between computers. Doug -- Douglas Ryan VanBenthuysen Office System Solutions Specialist 3Sharp http://blogs.3sharp.com/Blog/dougv/ "Big Dave" wrote: I just looked in the Building Block Organiser (under Insert - Quick Parts) and used Edit Properties on a BB to alter the template in which is is stored (I made a custom BB template by copying the original and renaming and removing its contents). I recorded a macro while doing this and this code was recorded: - ActiveDocument.AttachedTemplate.BuildingBlockEntri es("BigDaveCCBBName"). _ Insert Whe=Selection.Range, RichText:=True NormalTemplate.BuildingBlockEntries.Add Name:="BigDaveCCBBName", Range:= _ Selection.Range ActiveDocument.AttachedTemplate.BuildingBlockEntri es("BigDaveCCBBName"). _ Insert Whe=Selection.Range, RichText:=True So, it looks to me that you need to use a VBA macro to iterate through the building blocks collection of one template and add them into another via pasting them into the activedocument and re-recording them. Not the best, is it?... -- Big Dave UK x "Sue C" wrote: Any ideas how to copy a whole load of autotext entries from one template to another? Thanks. Sue |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Should be able to copy Building Blocks between templates | Microsoft Word Help | |||
Where are 'building blocks' stored, please? | Microsoft Word Help | |||
linking building blocks to content controls | Microsoft Word Help | |||
page numbers and the Building Blocks.dotx etc | New Users | |||
Word can't save my custom Building Blocks :( | Microsoft Word Help |