![]() |
|
#2
|
||||
|
||||
|
Probably somerthing like
Code:
Sub PasteInline()
Dim oRng As Range
Dim oIlShape As InlineShape
Dim oShape As Shape
Set oRng = Selection.Range
oRng.Text = ""
oRng.Paste
oRng.End = oRng.End + 1
If oRng.InlineShapes.Count > 0 Then
Set oIlShape = oRng.InlineShapes(1)
Set oShape = oIlShape.ConvertToShape
With oShape
.WrapFormat.Type = wdWrapTight
.RelativeHorizontalPosition = wdRelativeHorizontalPositionColumn
.Left = wdShapeRight
End With
End If
lbl_Exit:
Exit Sub
err_Handler:
Err.Clear
GoTo lbl_Exit
End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
How to combine several records in a single letter in Word 2010
|
May | Mail Merge | 3 | 03-25-2015 03:36 AM |
How do I combine two different contentcontrolonexit macros?
|
jamles12 | Word VBA | 2 | 11-12-2013 06:51 PM |
| combine multiple documents word starter 2010 | bribelge | Word | 3 | 12-19-2012 09:25 AM |
Macros not working in word 2010
|
louise_chapman | Word VBA | 3 | 10-25-2010 08:34 AM |
| Macros -Problem Word 2010 | Lyn | Word VBA | 0 | 08-19-2010 08:10 AM |