D5/Word97 GoTo_ wdGoToBookMark

I am trying to use GoTo_, assigning wdGoToBookmark to a variant passed to
the What parameter.  When I compile, I get a message that says 'Constant
expression violates subrange bounds.'  Using this constant worked fine in
D4.  In D5 I converted to the provided Word samples on the Servers pallete.
What am I missing?

--
J. M. "Papa Joe" De Moor
www.objectpac.com