A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Powerpoint
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Template path in VBA



 
 
Thread Tools Display Modes
  #1  
Old January 11th, 2005, 09:07 PM
Jim Zeeb
external usenet poster
 
Posts: n/a
Default Template path in VBA

I want to apply a template in my VBA code, but it appears that the
..ApplyTemplate method requires a complete path\filename. Is there a way to
get the current path to the template folders so I don't have to hard code it?

InTHANKSAdvance
  #2  
Old January 12th, 2005, 03:59 AM
Shyam Pillai
external usenet poster
 
Posts: n/a
Default

It's not natively available but you can easily code it. Refer to the
following article to learn how to deploy templates in effect retrieve the
template path.

Deploying Office Templates and Application-Specific Add-ins
http://msdn.microsoft.com/library/de...icaddins.a sp
--
Regards,
Shyam Pillai

http://skp.mvps.org/

"Jim Zeeb" wrote in message
...
I want to apply a template in my VBA code, but it appears that the
.ApplyTemplate method requires a complete path\filename. Is there a way
to
get the current path to the template folders so I don't have to hard code
it?

InTHANKSAdvance



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Template path in TOOLS/Templates and Add-Ins Regine General Discussion 1 December 14th, 2004 12:09 AM
need input: adopting a pre-fabricated/standard template as our companytemplates Barbara White General Discussion 1 November 9th, 2004 07:12 PM
Easiest Method for Changing Workgroup Template PAth Desperate Dude General Discussion 1 June 13th, 2004 11:09 AM
word error mac General Discussions 1 May 6th, 2004 08:14 AM


All times are GMT +1. The time now is 04:48 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.