|
-
Mar 31st, 2003, 07:11 AM
#1
Thread Starter
New Member
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
-
Mar 31st, 2003, 07:26 AM
#2
Sleep mode
Re: Open test.dot
Sorry I don't get it ? What's that you want to open ??
-
Mar 31st, 2003, 07:31 AM
#3
Thread Starter
New Member
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
-
Mar 31st, 2003, 07:42 AM
#4
Sleep mode
Re: RE
Try this with the right path to your file .
VB Code:
Dim proc As New Process()
proc.Start("c:\readme.txt")
-
Mar 31st, 2003, 07:52 AM
#5
Thread Starter
New Member
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
-
Mar 31st, 2003, 07:58 AM
#6
Sleep mode
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 .
-
Mar 31st, 2003, 08:00 AM
#7
Thread Starter
New Member
-
Mar 31st, 2003, 08:36 AM
#8
Sleep mode
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 !
-
Mar 31st, 2003, 08:40 AM
#9
Thread Starter
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|