#1
|
|||
|
|||
Formatting linked MS Excel tables in MS Word
I have linked MS Excel tables into MS Word. All is fine when linked to the full amount of data in Excel. Under the circumstances that there is less data in the excel section that is linked the visible rows in word reduce accordingly. Unfortunately there is always an empty section under the table filling up the word document. The reason d=for this is the empty lines in the linked area. Is there a way to get the link to shrink to the size of the date in excel? |
#2
|
||||
|
||||
If you name the Excel range before establishing the link via copy/paste, the link will refer to the named range and will expand/contract to reflect changes in the named range's scope.
Even now, provided the linked table has been inserted as in-line with text, if you name the Excel range and edit the LINK field code in Word, the same result can be achieved. To do the latter, select the linked table and press Shift-F9 to expose the field code, which will look something like: {LINK Excel.Sheet.8 "C:\\Users\\PWindsor\\Documents\\Path\\Excel Table.xls" "Sheet1!R1C1:R10C10" \a \p} Simply replace 'Sheet1!R1C1:R10C10' with the named range, then press F9 to refresh the link.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
I have tried this and it does of course expand and contract the linked data but unfortunately I still see blank lines underneath.
|
#4
|
||||
|
||||
That would only be the result of there being empty rows in the named range. Delete those rows and the linked object in Word will update accordingly.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Word Formatting Issue: Space above text when linked to Excel | JDHeisenberg | Word | 3 | 08-19-2016 05:34 AM |
Keep formatting of linked Excel table when updating link in word | eaddi | Word | 13 | 11-13-2015 11:11 AM |
Formatting issues when updating linked Excel charts | Becky808 | Word | 0 | 08-05-2015 03:38 AM |
Excel Cell Linked to Word Doc - Lock in Formatting? | wizzle89 | Word | 1 | 06-08-2015 08:33 PM |
Problem With Updating Linked Excel Tables in Word 2013 | maverick1714 | Word | 6 | 09-30-2014 12:30 AM |