Results 1 to 2 of 2

Thread: CreateObject

  1. #1

    Thread Starter
    Addicted Member jeroenh's Avatar
    Join Date
    Aug 2000
    Location
    Rotterdam, Holland
    Posts
    201
    Alright so I don't know what the problem is in your code but I might have the piece of the puzzle your looking for.

    When I began programming I used the same code you do to create a new Word session. But now I use the following line

    Code:
    Set objWord = New Word.Application
    You should always put the prefix before and not after a variable, contol or objext.

    Catch you later,

    Jeroen Hoekemeijer
    Code:
    If 1 = 2 Then MajorError

  2. #2
    New Member
    Join Date
    Jun 2000
    Location
    North California
    Posts
    1

    Smile Thanks for your reply

    Thanks for your reply.

    My problem was solved. It was not program related. The Office 2000 was not properly installed on the PC, which had the runtime error. Everything works fine after I reinstalled the Office 2000.

    Thanks anyway.

    rj

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