Running a macro with a watermark

K

Keith

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top