K
Keith R. Sylvester
I have a macro that has a watermark in it. When I run it on my system,
which has Windows 2000 and office 2000 small business, it runs fun, it also
runs fine on every other system here, except one, which is running XP pro
and office 2000. The problem comes when it tries to center it on the page.
It centers is verticaly no problem, but when it tries to center it
horizontally, it centers the middle of the picture with the left edge of the
page. We cannot recreate this problem on any other system. Could that
version of Word be corrupt. I will paste that part of the code below.
Thanks!
Keith
The problem lies within here somewhere: Selection.ShapeRange.Left =
wdShapeCenter
Selection.ShapeRange.RelativeHorizontalPosition = _
wdRelativeVerticalPositionMargin
Selection.ShapeRange.RelativeVerticalPosition = _
wdRelativeVerticalPositionMargin
Selection.ShapeRange.Left = wdShapeCenter
Selection.ShapeRange.Top = wdShapeCenter
ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument
which has Windows 2000 and office 2000 small business, it runs fun, it also
runs fine on every other system here, except one, which is running XP pro
and office 2000. The problem comes when it tries to center it on the page.
It centers is verticaly no problem, but when it tries to center it
horizontally, it centers the middle of the picture with the left edge of the
page. We cannot recreate this problem on any other system. Could that
version of Word be corrupt. I will paste that part of the code below.
Thanks!
Keith
The problem lies within here somewhere: Selection.ShapeRange.Left =
wdShapeCenter
Selection.ShapeRange.RelativeHorizontalPosition = _
wdRelativeVerticalPositionMargin
Selection.ShapeRange.RelativeVerticalPosition = _
wdRelativeVerticalPositionMargin
Selection.ShapeRange.Left = wdShapeCenter
Selection.ShapeRange.Top = wdShapeCenter
ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument