Solved

USERPROFILE in Word 2007 Hyperlink

Posted on 2011-02-11
4
1,410 Views
Last Modified: 2012-05-11
I need to create, in a Word 2007 document, a link to the normal template, such that any of our field associates can click the link to open his/her normal template and change the line spacing in it.  Is there a way I can use a system variable in the link to access the normal template in a user's profile?
0
Comment
Question by:Yaroslavl
  • 2
  • 2
4 Comments
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 50 total points
ID: 34878051
That doesn't sound like an easy or a good thing to do. You can change the line spacing for any of the styles using the Word application at the moment.

Right-click on the style in on the Home tab and choose 'Modify...'. Choose the 'New documents based on this template option', then Format, Paragraph. Adjust the line spacing as desired, then OK. OK.

If you need a macro to automate it, you could try something like this

Sub NormTempl_NormSty_SpaceAfter()
    Dim doc As Document
    Dim sty As Style
    
    Set doc = NormalTemplate.OpenAsDocument
    Set sty = doc.Styles("Normal")
    sty.ParagraphFormat.SpaceAfter = 0
    doc.Save
    doc.Close
End Sub

Open in new window

0
 

Author Comment

by:Yaroslavl
ID: 34880016
Thank you!  After submitting the question I ran onto another solution, namely:  on Home tab, in the Styles group, click Change Styes, Style Set, Word 2003.  Do you know which solution would be preferable and the ramifications of each?
0
 
LVL 76

Assisted Solution

by:GrahamSkan
GrahamSkan earned 50 total points
ID: 34886825
If you want to keep the same styles that you used to use in Word 2003, then that would be a simple option.
0
 

Author Closing Comment

by:Yaroslavl
ID: 34889642
I asked [i]Do you konw which solution would be preferable and the ramifications of each?[/i]; the answer provided was sufficient to give me direction, but really didn't answer this question.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Preface: When I started this series, I used the term CommandBars because that is the Office Object class that it discusses. Unfortunately, when Microsoft introduced Office 2007, they replaced the standard Commandbar menus with "The Ribbon" and rem…
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
This video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now