Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-13-2010, 01:50 AM
Ruxandra Ruxandra is offline Word template issue Windows 7 Word template issue Office 2007
Novice
Word template issue
 
Join Date: Aug 2010
Posts: 1
Ruxandra is on a distinguished road
Default Word template issue

Hello!

I am writing some macros to migrate some Word docs from one template to another. The docs the macros are being run on come from a repository, and not all of them are built on the same template, so I have to check if it's the right one. The problem is that the people who checked them in have the original template saved in different locations on their computer, hence when I run



If ActiveDocument.AttachedTemplate = "MyOriginalTemplate.dot" Then ...

it doesn't enter the If block even though the template might be the right one, because it doesn't exist in my computer at the address specified in the Templates and Add-ins window.
I cannot change the template to match the location where it's stored in my computer manually, because the process of runnig the macros is automated (done inside a python script), and I can't change it from the python script either, because it may be that some docs are not based on that particular template.
Is there anything I can do about this?

Thank you!
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Win 7 Word Issue PeterBrazel Word 1 04-24-2010 12:00 PM
Word Letter Template Issue Swarv Word 1 02-19-2010 08:03 AM
How to type on the back of word template receipts through word ??? Qintex Solutions llc Word 3 10-02-2009 07:52 AM
The strangest word issue I've ever seen! Ant Word 0 09-15-2009 04:36 AM
Template image aligment issue regimechange Word 0 02-03-2009 09:02 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:28 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft