Macro - image set to tight formatting

whhaatt

Registered User.
Local time
Yesterday, 17:10
Joined
Aug 10, 2005
Messages
42
How can i set the iamge to TIGHT formatting -

When recording the macro this option is greyed out

any VBA coding to force this formatting?

CODE USED

If ActiveWindow.View.SplitSpecial <> wdPaneNone Then
ActiveWindow.Panes(2).Close
End If
If ActiveWindow.ActivePane.View.Type = wdNormalView Or ActiveWindow. _
ActivePane.View.Type = wdOutlineView Then
ActiveWindow.ActivePane.View.Type = wdPrintView
End If
ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader
Selection.InlineShapes.AddPicture FileName:= _
"C:\ Logo.JPG", LinkToFile:=False _
, SaveWithDocument:=True
Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter
ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument
 

Users who are viewing this thread

Back
Top Bottom