Help!!! CreateObject

Results 1 to 2 of 2

Thread: Help!!! CreateObject

  1. #1
    Join Date
    Dec 1969

    Default Help!!! CreateObject

    Why do i get this error when i run this code on the client side?<BR><BR>code:<BR>Set objWordDoc = CreateObject("Word.Document")<BR><BR>error:<BR>act ivex component cant create object word.document<BR><BR>even tho msword is present on the client side<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Help!!! CreateObject

    I&#039m pretty sure that you can&#039t directly create an instance of the document object - you have to first create an instance of the Word Application object ("Word.Application") and then get that object to create the document for you.<BR><BR>I may be wrong tho...<BR><BR>Dunc

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts