![]() |
#2
|
||||
|
||||
![]()
Try making your copy/paste start with the period (i.e omit http://www). If the paste starts with the period, you won't get the unwanted space. Similarly, if the copied string terminates in a '/', a trailing space isn't inserted.
An alternative would be to use a macro: Code:
Private Sub PasteUnformattedText() Dim MyData As DataObject On Error GoTo ErrExit Set MyData = New DataObject MyData.GetFromClipboard Selection.Range.Text = MyData.GetText ErrExit: End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
tinfanide | Word | 6 | 03-06-2013 12:21 AM |
![]() |
LarryStroup | PowerPoint | 1 | 12-11-2012 12:10 AM |
![]() |
minny | Excel | 2 | 04-09-2012 04:19 PM |
Paste Special Link no longer working | MrsMoe | PowerPoint | 0 | 12-20-2010 10:54 PM |
![]() |
tphillippe | PowerPoint | 1 | 11-26-2009 05:54 PM |