Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 09-23-2014, 11:11 PM
gmayor's Avatar
gmayor gmayor is offline VBA FileCopy Source: problem Windows 7 64bit VBA FileCopy Source: problem Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

The issue appears to be that you are running a macro from Word that will copy a normal template to Word which already has the normal template open. You cannot overwrite a file that is in use - and you certainly cannot run a macro from the normal template that, even if was possible, would replace itself.

The way to do this would be from a log-in script before Word is started, though frankly I would question the wisdom of it (other than for initial setup). The normal template is a personal user file. This type of over-arching central control, ruins productivity from your better Word users, and is completely unnecessary.

If you need particular conditions for documents then give the users document templates from which to create their company documents.

If you simply want to supply a set of macros, then supply them in the form of an add-in template - and again that would have to be copied using a log-in script.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
 

Tags
filecopy, vba, xml



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot open the source object Satish1985 Excel 0 02-06-2014 08:32 PM
VBA FileCopy Source: problem Create DDL from Excel source BradleyS Word 1 01-30-2013 10:58 PM
Cannot find source of overallocation nesskramer Project 3 06-29-2012 08:46 AM
VBA FileCopy Source: problem editing source formatting urboyfriend Word 1 09-22-2011 02:43 AM
Installation Source Corrupted browneyes Office 1 01-23-2006 02:33 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:58 PM.


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