Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1612
  • Last Modified:

USERPROFILE in Word 2007 Hyperlink

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
Yaroslavl
Asked:
Yaroslavl
  • 2
  • 2
2 Solutions
 
GrahamSkanRetiredCommented:
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
 
YaroslavlAuthor Commented:
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
 
GrahamSkanRetiredCommented:
If you want to keep the same styles that you used to use in Word 2003, then that would be a simple option.
0
 
YaroslavlAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now