Solved

USERPROFILE in Word 2007 Hyperlink

Posted on 2011-02-11
4
1,468 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Authors who set out to write any sort of lengthy piece for online submission—be it a long question or comment on a technical form, an article, or a substantial blog entry—often find it useful to work up a draft in an editor other t…
If you work with Word a lot, you probably use styles. If you use styles a lot, you've probably balled your fist more often than not when working with the ribbon. In Word 2007/2010, one of the things that I find missing when using styles is a quic…
This video shows the viewer how to set up and create Footnotes in their document. Click on the References tab: Select "Insert Footnote": Type in desired text:
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.

730 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