path to Excel template folder

S.Br.

Board Regular
Joined
Oct 5, 2012
Messages
62
Dear All;
How do I retrieve the absolute path of the default (per user) folder where Excel stores/looks for its template files?
(I need this for MS Office versions 2007, 2010, 2013 and 2016). Many thanks in advance. =S.Br.=
 

Logit

Well-known Member
Joined
Aug 31, 2016
Messages
2,924
.
I have Excel 2007 (32 bit / Win 10 64 bit).

The Templates are stored at : C:\Program Files (x86)\Microsoft Office\Templates\1033
 

S.Br.

Board Regular
Joined
Oct 5, 2012
Messages
62
Thanks Logit.
My PC does have that folder as well, but this is not where Excel 2010 stores its templates:
the default location is: %userprofile%\AppData\Roaming\Microsoft\Templates but user can
change it in ver.2010.
 

Logit

Well-known Member
Joined
Aug 31, 2016
Messages
2,924
My computer has your path as well but it is empty.
 

jimrward

Well-known Member
Joined
Feb 24, 2003
Messages
1,708
Office Version
2016, 2013, 2011, 2010, 2007
Platform
Windows
Have you looked at vba and tried msgbox application.templatespath, you could store this mytemplates=application.templatespath

Try googling it will throw up more examples
 

S.Br.

Board Regular
Joined
Oct 5, 2012
Messages
62
Jim, you just made my day. Many thanks and have a great weekend!
S.Br.
 

JohnS

New Member
Joined
Mar 28, 2005
Messages
14
Have you looked at vba and tried msgbox application.templatespath, you could store this mytemplates=application.templatespath

Try googling it will throw up more examples
jimrward:

Thanks for reminding about the templatespath[/] property.

Earlier this afternoon I had visited the Microsoft Community website regarding this same question... Unless I misread some part of it, the answer was that, like the templates for the other MS Office 2013 apps, Excel 2013 is supposed to use C:\Username\Documents\Custom Office Templates.

My workstation's folder Custom Office Templates is empty, and my file Personal.xlsb shows up in C:\Username\AppData\Roaming\Microsoft\Excel\XLSTART. In my case, at least, that's working.

The User can select a place, by going into an open Excel file, then clicking File> Options> Trust Center > Trust Center Settings. Click the Add New Location button near the bottom of the dialog box. In the User Locations section, you can specify a place of your choice... I think.

Thanks,
JohnS
 

Forum statistics

Threads
1,082,316
Messages
5,364,483
Members
400,802
Latest member
RichBRich

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top