|
-
May 29th, 2005, 05:55 AM
#1
Thread Starter
Member
display error
hi
getting "a dialog box is open.Close it and try again" , while running the code :
Sub CreateFromTemplate()
Dim myOlApp As Outlook.Application
Dim MyItem As Outlook.MailItem
Set myOlApp = CreateObject("Outlook.Application")
Set MyItem = myOlApp.CreateItemFromTemplate("C:\statusrep.oft")
MyItem.Display
End Sub
the error occurs on .Display .
how should i fix it, or there is another way to load/show/display my template form?
10x
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
|