CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Open Object

  1. #1

    Open Object

    I am new to VB, but have decent VC experience and am trying to have a word document launch individual objects that are inside of the documents on startup. ie. Open other documents or spreadsheets that are embedded in the original document. Can this be done using a VB Script macro? How would I do this? Thanks in advance.

    Anish Mistry
    "The seeds of the future lie buried in the past."
    --The Oracle
    http://am-productions.yi.org/
    [email protected]

  2. #2
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: Open Object

    On thing you can do if you don't know the code is to use the macro recorder. Do the things you want to do, and then use the Visual Basic editor. This can be reached via file Extra, Macro's, Visual Basic Editor. There should be a module, this module contains the macro's you recorded. This code can be easely modified to your needs

    Tom Cannaerts
    [email protected]

    Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

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