CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2001
    Location
    Minnesota, USA
    Posts
    2

    Code Modules in Word Docs

    I'm trying to write something to impregnate about 600 MS Word 97 files with an AutoOpen macro. I can easily accomplish this with small VBA app in a Word Doc, but would rather do it via a stand-alone application in Visual Basic 6.0. I know this sounds "virusy", but I have the best intentions. Anyone have any suggestions?

    Thanks,

    Bernie

    If you can't code it, eat it.

  2. #2
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: Code Modules in Word Docs

    Have a look around answers here to know how you can open word doc from vb
    http://codeguru.com/cgi-bin/bbs/wt/s...&sb=&category=

    If you're building a virus, I "will pull your feet at midnight"...



    Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright, Bruno Paris, Dr_Micahel
    and all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

    The Rater
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured