Is it possible to find out the default path where the PP templates are stored? In Word, I can look up Options|File Locations | etc. There is no such thing in PP 2003 (haven't checked 2007 yet).
When try to create a new template, it certainly comes up with all the templates stored in the correct place for the company. It's this path I need. I am trying to store an image in it.
Path where templates are stored
-
- 5StarLounger
- Posts: 656
- Joined: 18 Feb 2010, 14:26
Path where templates are stored
You do not have the required permissions to view the files attached to this post.
-
- Administrator
- Posts: 78558
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Path where templates are stored
All Office applications use the same two folders for templates (the user templates folder and the workgroup templates folder), but Word is the only one that lets you view and change their locations. If you change the user templates folder or workgroup templates folder in Word, it will affect all other Office applications too.
Best wishes,
Hans
Hans
-
- 5StarLounger
- Posts: 656
- Joined: 18 Feb 2010, 14:26
Re: Path where templates are stored
Thanks. Consistent interface would have been so helpful.HansV wrote:All Office applications use the same two folders for templates (the user templates folder and the workgroup templates folder), but Word is the only one that lets you view and change their locations. If you change the user templates folder or workgroup templates folder in Word, it will affect all other Office applications too.
-
- Administrator
- Posts: 78558
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Path where templates are stored
What a novel idea!Robie wrote:Consistent interface would have been so helpful.
Best wishes,
Hans
Hans
-
- 5StarLounger
- Posts: 656
- Joined: 18 Feb 2010, 14:26
Re: Path where templates are stored
Do you know a way of getting hold of it in PP?HansV wrote:What a novel idea!Robie wrote:Consistent interface would have been so helpful.
-
- Administrator
- Posts: 12618
- Joined: 16 Jan 2010, 15:49
- Location: London, Europe
Re: Path where templates are stored
By automating a hidden copy of Word?Robie wrote:Do you know a way of getting hold of it in PP?
StuartR
-
- 5StarLounger
- Posts: 656
- Joined: 18 Feb 2010, 14:26
Re: Path where templates are stored
Dumb question. How can I open a word document from PP? I know I can do new presentation but can't find a way of doing it with Word.StuartR wrote:By automating a hidden copy of Word?Robie wrote:Do you know a way of getting hold of it in PP?
-
- Administrator
- Posts: 78558
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Path where templates are stored
You don't have to open a document, just start Word:
You'd have to do something with strUserTemplates or strWorkgroupTemplates of course.
Code: Select all
Sub Test()
Dim objWord As Object
Dim strUserTemplates As String
Dim strWorkgroupTemplates As String
Set objWord = CreateObject("Word.Application")
strUserTemplates = objWord.Options.DefaultFilePath(2) ' wdUserTemplatesPath
strWorkgroupTemplates = objWord.Options.DefaultFilePath(3) ' wdWorkgroupTemplatesPath
objWord.Quit SaveChanges:=False
Set objWord = Nothing
End Sub
Best wishes,
Hans
Hans
-
- 5StarLounger
- Posts: 656
- Joined: 18 Feb 2010, 14:26
Re: Path where templates are stored
That works beautifully Hans. Thank you.HansV wrote:You don't have to open a document, just start Word:
You'd have to do something with strUserTemplates or strWorkgroupTemplates of course.Code: Select all
Sub Test() Dim objWord As Object Dim strUserTemplates As String Dim strWorkgroupTemplates As String Set objWord = CreateObject("Word.Application") strUserTemplates = objWord.Options.DefaultFilePath(2) ' wdUserTemplatesPath strWorkgroupTemplates = objWord.Options.DefaultFilePath(3) ' wdWorkgroupTemplatesPath objWord.Quit SaveChanges:=False Set objWord = Nothing End Sub
Sorry, another totally stupid question (I should know this as I have used it before but my mind is just not working properly). How can I test a variable for 'Nothing'?
-
- Administrator
- Posts: 78558
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Path where templates are stored
"Nothing" only applies to object variables (the kind you assign a value with the keyword Set). To test for Nothing, use
If variable Is Nothing Then
If variable Is Nothing Then
Best wishes,
Hans
Hans