new function??

D

donna

I am currently using MS Word 2000. I have received a file from client and
when i try to open it always opens the VB code and the error occurs it says
"compile error, method or data member not found" the cursor is on
..pictureWrapType = wdWrapMergeInline under with option. Is it due to the Word
version. I am assuming this function is in higher version. Please, help.

Thanks
Donna
 
D

donna

Unfortunatly I don't know. Is there any way I can find it from the
file(template .dot) he sent me?

Thanks
 
J

Jay Freedman

donna said:
I am currently using MS Word 2000. I have received a file from client
and when i try to open it always opens the VB code and the error
occurs it says "compile error, method or data member not found" the
cursor is on .pictureWrapType = wdWrapMergeInline under with option.
Is it due to the Word version. I am assuming this function is in
higher version. Please, help.

Thanks
Donna

Yes, that was introduced with Word 2002 (I think -- I'm only looking at 2003
right now). The later versions have an option in the Tools > Options > Edit
dialog that let you set the default wrapping style for pasted or inserted
pictures. The code line you quoted is the VBA equivalent of that option. It
will never run in Word 2000, and in fact isn't necessary.

When the macro stops and the VBA editor opens, just delete that line, press
Ctrl+S to save the document without the line, and press F5 to let the macro
continue.

It sounds like that macro, which runs automatically when the document opens,
is meant to ensure a standard set of options. Word 2000 doesn't have a
settable option for picture wrapping, and the default wrapping for all
pictures is one of the "floating" settings (Square, I think). If you insert
pictures and want them inline, you'll have to use the Wrap button on the
Picture toolbar (or the Layout tab of the Format Picture dialog) to change
them.
 

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