Solved

USERPROFILE in Word 2007 Hyperlink

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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

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…
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …

707 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