I am trying to programically format a picture in Word with no success. Here are the steps I am taking;
First I insert a *.tif into a Word Document. Then select 'Format | Picture | Layout' select 'Tight and click Left'. This works fine when done manually, but when I try to record these steps, the 'Wrapping Style' Options are greyed out.
Next when I tried the following code on the unformatted *.tif, Word generages the error "4198", Command Failed;
Selection.ShapeRange.WrapFormat.Type = wdWrapTight
Selection.ShapeRange.Left = wdShapeLeft
Selection.ShapeRange.Top = InchesToPoints(0)
Any Ideas on how this can be done in a Macro?
Thank you
Roland Thomas
First I insert a *.tif into a Word Document. Then select 'Format | Picture | Layout' select 'Tight and click Left'. This works fine when done manually, but when I try to record these steps, the 'Wrapping Style' Options are greyed out.
Next when I tried the following code on the unformatted *.tif, Word generages the error "4198", Command Failed;
Selection.ShapeRange.WrapFormat.Type = wdWrapTight
Selection.ShapeRange.Left = wdShapeLeft
Selection.ShapeRange.Top = InchesToPoints(0)
Any Ideas on how this can be done in a Macro?
Thank you
Roland Thomas