?
Solved

Formatting Excel Links in Word Doc

Posted on 2004-11-16
3
Medium Priority
?
254 Views
Last Modified: 2010-04-17
I have a rather simple Word doc that is updated with information contained in a variety of cells in Excel. Links work just fine...used copy, paste special, paste link, formated text...I went to each link in the Word doc, double clicked to highlihght the linked text, did a format with font=Arial, size=12, style=bold...looks good. saved. When I update the info in the XL cell(s) and it updates in Word just fine, but formatting is lost...most noteably, style is regular, not bold. Is there a simple vba routine that can set all formatting for fields when updated?

Thanks,
Ron
0
Comment
Question by:ronaldj
  • 2
3 Comments
 
LVL 3

Expert Comment

by:CAVcc
ID: 12610059
ronaldj,

how did you link the cells to your word doc.  If you format your cells in Excel where your linking from, and paste link in a RTF format in word your formats should carry over into your Word doc from Excel.  In other words whatever you then change on the excel cell value, font, size, color, etc..  will carry into the Word doc.

Hope this helps...
0
 
LVL 3

Accepted Solution

by:
CAVcc earned 750 total points
ID: 12610072
Also I should add, there are ways to do this via VBA.. just thought this may be slightly easier.
Let me know if you need more info on the vba.
0
 

Author Comment

by:ronaldj
ID: 12610301
Hey CAVcc,

Thanks for the response. Yeah, I kinda stumbled into your solution this AM playing around...how the XL cells are formatted dictates the format of the link in Word. Shoulda guessed since the paste special option is formatted text, duh!  As a precaution, I wrote some vba script for Worksheet On_Open to set the cell formatting, just to be sure, then call up the Word template. Thanks again.

Ron
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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
Simple Linear Regression
Starting up a Project

864 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