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
Solved

USERPROFILE in Word 2007 Hyperlink

Posted on 2011-02-11
4
1,459 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Do you ever need to create a 20 page Word document for some testing purpose? Are you tired of copying & pasting old boring "lorem ipsum" text over and over again, increasing font size and line space in order to make the document 20+ pages long? Look…
Microsoft Word is a program we have all encountered at some point, but very few of us have dug deep into its full scope of features, let alone customized it to suit our needs. Luckily making the ribbon (aka toolbar, first introduced in Word 2007) wo…
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
Office 365 is currently available in five editions. Three of them are for business use: Office 365 Business Essentials, Office 365 Business, and Office 365 Business Premium. Two of them are for home/personal use: Office 365 Home and Office 365 Perso…

856 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