Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-25-2012, 03:48 AM
ramsgarla ramsgarla is offline Extra spaces between the lines after pasting data to Word Windows 7 64bit Extra spaces between the lines after pasting data to Word Office 2010 64bit
Novice
Extra spaces between the lines after pasting data to Word
 
Join Date: Sep 2012
Posts: 21
ramsgarla is on a distinguished road
Default 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.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Extra spaces between the lines after pasting data to Word Columns lines in table have spaces and indents in the borders lukester Word Tables 3 07-11-2012 07:01 AM
Extra spaces between the lines after pasting data to Word 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
Extra spaces between the lines after pasting data to Word 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

Other Forums: Access Forums

All times are GMT -7. The time now is 10:35 PM.


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