View Single Post
 
Old 04-16-2017, 11:14 AM
spider85 spider85 is offline Windows 10 Office 2016
Novice
 
Join Date: Apr 2017
Posts: 4
spider85 is on a distinguished road
Default Word VBA docm to dotm problem

Hi everyone,

i have problem, last days i made a VBA word file with some quicktext blocks saved in normal.dotm. everything runs great.
Now i thought i'd make it a template on is own, so i saved the whole file as "template.dotm" changed the location of the quicktext parts from normal.dotm to template.dotm, but now if i run the VBA and i want to insert a quicktext part i got the following error message:

Code:
   
Application.Templates(strTemplate). _
                        BuildingBlockEntries("Quick1").Insert _
                        Where:=orng, _
                        RichText:=True
What do i need to change? it looks like it still looks for the parts in the normal.dotm?

Kind Regards
Reply With Quote