![]() |
#1
|
|||
|
|||
![]()
Hi folks,
My company has a toolbar template used for specific documents we write. IT wants to push it to each user via OneDrive, which means the path to the toolbar will be different for each user. Something like this: C:\Users\username\Regulatory - Templates\Toolbar.dotm Where username is the user's login name. I know we should be able to do this using the %USERPROFILE% variable, but when I've tested it on my machine it doesn't work. Thus, currently C:\Users\myname\Regulatory - Templates\Toolbar.dotm works (where myname = my actual login name), but if I put in C:\Users\%USERPROFILE%\Regulatory - Templates\Toolbar.dotm it doesn't. I get an error that the template can't be found. What's the correct syntax, or what do I need to change to make this work? Thanks in advance, Beej |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
XmisterIS | Word VBA | 4 | 08-28-2024 03:32 PM |
![]() |
bearcublandon | Word VBA | 6 | 01-03-2019 08:17 PM |
Windows 10 (Microsoft) has named my User Profile folder. | wondermuse | Windows | 0 | 01-04-2017 10:00 PM |
![]() |
dsm1995gst | Word VBA | 1 | 09-03-2013 03:43 PM |
attaching (relative,logical or virtual) path to template word document | wissam | Mail Merge | 0 | 08-04-2009 05:09 AM |