Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-16-2019, 10:57 AM
PWindsor PWindsor is offline Formatting linked MS Excel tables in MS Word Windows 10 Formatting linked MS Excel tables in MS Word Office 2016
Novice
Formatting linked MS Excel tables in MS Word
 
Join Date: Feb 2019
Posts: 3
PWindsor is on a distinguished road
Default 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?
Reply With Quote
  #2  
Old 02-16-2019, 01:30 PM
macropod's Avatar
macropod macropod is offline Formatting linked MS Excel tables in MS Word Windows 7 64bit Formatting linked MS Excel tables in MS Word Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
  #3  
Old 02-17-2019, 12:23 PM
PWindsor PWindsor is offline Formatting linked MS Excel tables in MS Word Windows 10 Formatting linked MS Excel tables in MS Word Office 2016
Novice
Formatting linked MS Excel tables in MS Word
 
Join Date: Feb 2019
Posts: 3
PWindsor is on a distinguished road
Default

I have tried this and it does of course expand and contract the linked data but unfortunately I still see blank lines underneath.
Reply With Quote
  #4  
Old 02-17-2019, 01:34 PM
macropod's Avatar
macropod macropod is offline Formatting linked MS Excel tables in MS Word Windows 7 64bit Formatting linked MS Excel tables in MS Word Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
Reply

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
Formatting linked MS Excel tables in MS Word 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
Formatting linked MS Excel tables in MS Word 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

Other Forums: Access Forums

All times are GMT -7. The time now is 05:43 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft