Results 1 to 9 of 9

Thread: Open test.dot

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2003
    Posts
    7

    Question Open test.dot

    HI!

    Sorry for my bad english but i´m from germany!

    I have a problem:

    I want to open with a button a test.dot!

    How can i handle this?

    thank you all for your answer!

    Bye

    Chrissy

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    Re: Open test.dot

    Sorry I don't get it ? What's that you want to open ??

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2003
    Posts
    7

    RE

    I want to open a template (test.dot)

    This is a word file (makro)!

    Whis this file i can make Serial letters

    i have made it so:

    Dim xlApp As Word.Application
    xlApp = CreateObject("Word.Application")
    xlApp.Documents.Open("D:\test.dot")
    xlApp.Visible = True


    But when i try it so, then only word opens the test.dot!

    But actually the program should open a new document with the ending .doc

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    Re: RE

    Try this with the right path to your file .

    VB Code:
    1. Dim proc As New Process()
    2. proc.Start("c:\readme.txt")

  5. #5

    Thread Starter
    New Member
    Join Date
    Mar 2003
    Posts
    7

    Unhappy Thank you but it works not really good

    Thank you for you really fast answer!

    But whith you suggestion Word opens the test.dot!

    Normally when i click in the explorer on the test.dot word opens a new document whith the test.dot makro!

    I will try,

    i hope i will find a sollusion


    Thank you

  6. #6
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    Re: Thank you but it works not really good

    if you want to start new sheet then pass the path of macro application instead of the file name .

  7. #7

    Thread Starter
    New Member
    Join Date
    Mar 2003
    Posts
    7

    ok i will try

    Thank you!

  8. #8
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    Re: ok i will try

    Here's a tutorial teaches you how to pass one or multiple file parameters to start an application in customized way!

    It should all of your questions !

  9. #9

    Thread Starter
    New Member
    Join Date
    Mar 2003
    Posts
    7

    Thumbs up Cool

    Wow cool!

    Thank you very much!

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