#1
|
|||
|
|||
Extra spaces between the lines after pasting data to Word
I am trying to copy and paste data from RTF to word document and i find
extra spaces between the lines in word. I am using below code to paste the data in word. PwrdPasteDoc.Sections.Last.Range.PasteSpecial(, , , , DataType:=Word.WdPasteDataType.wdPasteRTF) With PwrdPasteDoc.Styles("Normal").Font .Name = "Arial" .Size = 10 End With How do i avoid these extra spaces between the lines in word. I checked my word settings and linespacing is set to single. Anycode snippets would be of great help. |
#2
|
||||
|
||||
The 'extra' spaces are either in the data or are a result of whatever spacing your 'Normal' Style has.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Columns lines in table have spaces and indents in the borders | lukester | Word Tables | 3 | 07-11-2012 07:01 AM |
Slight extra space between lines. | lucadelcarlo | Word | 1 | 04-23-2011 04:05 PM |
Powerpoint: adding data to trend lines w/o data labels | HaiLe | PowerPoint | 0 | 04-11-2011 09:21 AM |
Word extra spacing on page break | ellinj | Word | 4 | 03-21-2011 05:12 PM |
macro for comparing data from 3 columns and pasting into another worksheet | ashukla | Excel | 1 | 06-24-2009 05:01 PM |