Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-17-2016, 09:34 AM
oceanclub oceanclub is offline Theme files - must they be under %appdata% Windows XP Theme files - must they be under %appdata% Office 2010 32bit
Novice
Theme files - must they be under %appdata%
 
Join Date: Jul 2011
Posts: 8
oceanclub is on a distinguished road
Default Theme files - must they be under %appdata%

We've designed our template to use two theme files, for fonts and colours, which are stored under the %appdata% directory. However on some machines for security reasons, it is not possible to access that directory. If it possible for Word to access theme files stored elsewhere?

P.
Reply With Quote
  #2  
Old 11-17-2016, 04:10 PM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline Theme files - must they be under %appdata% Windows 7 64bit Theme files - must they be under %appdata% Office 2013
Moderator
 
Join Date: Aug 2011
Posts: 3,907
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

The location for themes isn't customizable. The paths that can be customized are listed in the File Locations dialog box (at File | Options | Advanced, click the File Locations button).

May I ask why you are not letting users access the user profile?
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote
  #3  
Old 11-21-2016, 11:04 AM
oceanclub oceanclub is offline Theme files - must they be under %appdata% Windows XP Theme files - must they be under %appdata% Office 2010 32bit
Novice
Theme files - must they be under %appdata%
 
Join Date: Jul 2011
Posts: 8
oceanclub is on a distinguished road
Default

Quote:
Originally Posted by Stefan Blom View Post
The location for themes isn't customizable. The paths that can be customized are listed in the File Locations dialog box (at File | Options | Advanced, click the File Locations button).

May I ask why you are not letting users access the user profile?
Oh just to be clear, not allowing users access %appdata% is nothing to do with me. This is an organisational security "feature".

P.
Reply With Quote
  #4  
Old 11-21-2016, 01:17 PM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline Theme files - must they be under %appdata% Windows 7 64bit Theme files - must they be under %appdata% Office 2013
Moderator
 
Join Date: Aug 2011
Posts: 3,907
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

Perhaps it would be possible to exclude the themes location from these security settings. I really don't know, because I'm no expert in Windows access rights/permissions settings.
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote
  #5  
Old 11-21-2016, 03:45 PM
Guessed's Avatar
Guessed Guessed is offline Theme files - must they be under %appdata% Windows 10 Theme files - must they be under %appdata% Office 2013
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Perhaps the application is allowed to write to the %appdata% area even though the user can't. Have you tried doing this with a macro from within Word?
Code:
  'Update the theme colours
  With ActiveDocument.DocumentTheme
    .ThemeColorScheme(msoThemeDark1).RGB = 0                      'Black
    .ThemeColorScheme(msoThemeLight1).RGB = RGB(255, 255, 255)    'White
    .ThemeColorScheme(msoThemeDark2).RGB = RGB(61, 65, 70)   
    .ThemeColorScheme(msoThemeLight2).RGB = RGB(208, 211, 212) 
    .ThemeColorScheme(msoThemeAccent1).RGB = RGB(252, 76, 2) 
    .ThemeColorScheme(msoThemeAccent2).RGB = RGB(240, 179, 35) 
    .ThemeColorScheme(msoThemeAccent3).RGB = RGB(97, 94, 155) 
    .ThemeColorScheme(msoThemeAccent4).RGB = RGB(217, 192, 169) 
    .ThemeColorScheme(msoThemeAccent5).RGB = RGB(0, 178, 169) 
    .ThemeColorScheme(msoThemeAccent6).RGB = RGB(72, 159, 223)
    .ThemeColorScheme(msoThemeHyperlink).RGB = RGB(1, 66, 106)  
    .ThemeColorScheme(msoThemeFollowedHyperlink).RGB = RGB(97, 94, 155) 
    .ThemeColorScheme.Save FileName:="MyColorTheme.xml"    'Overwrites if necessary
  End With
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reduce MS-Office Local Appdata Filesize? robru Office 2 09-15-2016 10:09 PM
Theme files - must they be under %appdata% Theme Keeps Reverting endly Outlook 1 01-11-2016 05:06 PM
More than 12 colors in a theme? Designzilla PowerPoint 3 01-16-2015 06:18 AM
Theme and color theme veronaz PowerPoint 0 10-13-2014 03:29 AM
can't find AppData on my c drive bknutowski Outlook 1 09-09-2012 06:55 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:08 PM.


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