Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / June 2005

Tip: Looking for answers? Try searching our database.

new function??

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
donna - 28 Jun 2005 16:02 GMT
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
Anne Troy - 28 Jun 2005 16:34 GMT
Donna, what version does your client run?
*******************
~Anne Troy

www.OfficeArticles.com
www.MyExpertsOnline.com

> 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
[quoted text clipped - 4 lines]
> Thanks
> Donna
donna - 28 Jun 2005 16:54 GMT
Unfortunatly I don't know. Is there any way I can find it from the
file(template .dot) he sent me?

Thanks

> Donna, what version does your client run?
> *******************
[quoted text clipped - 13 lines]
> > Thanks
> > Donna
Jay Freedman - 28 Jun 2005 17:08 GMT
> 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
[quoted text clipped - 5 lines]
> 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.

Signature

Regards,
Jay Freedman
Microsoft Word MVP          FAQ: http://word.mvps.org

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.