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 / February 2006

Tip: Looking for answers? Try searching our database.

Word Document Without Macros Displays "You Have Macros" Dialog

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Daren - 19 Jan 2006 19:26 GMT
Hi NG,

I have a tool that combines a number of Word Documents into a single
document using the InsertFile(file) method. This all seems to work fine,
however upon opening the new document, I get the macro security warning
dialog - the intersting thing here is that there are no macros in the
document, any of the documents that were combined into one, nor any of the
templates they reference. When I close the document (regardless of whether I
enable or disable the alledged macros) Word crashes on close with a vbe.dll
error.

Has anyone come across anything similar and have any pointers?

Thanks
Daren - 20 Jan 2006 16:26 GMT
It appears this is directly related to my other post concerning the document
grabbing focus. During certain scenarios, VSTO 2005 injects macros into the
document (which I am unable to view) and these macros are causing the dialog
to be displayed. Why this is happening is being investigated.

> Hi NG,
>
[quoted text clipped - 10 lines]
>
> Thanks
Mike - 08 Feb 2006 19:57 GMT
Hi Daren! Sorry to bug you but does your tool works OK  for documents that
have anchored pictures/objects?
I am having a majot problem with pictures that do not move to the next page.

Please let me know how you solve it if time permits.

Many Thanks in Advance,

--Michael

> Hi NG,
>
[quoted text clipped - 10 lines]
>
> Thanks
 
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.