View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
keepITcool keepITcool is offline
external usenet poster
 
Posts: 2,253
Default Late Bind to Specific version of Application

the 'VersionIndependentProgId = "word.application"

you could try to use "Word.application.10"
have a look at the registry hive

HKEY_CLASSES_ROOT\CLSID\{000209FF-0000-0000-C000-000000000046}


keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


(jason) wrote:

I'm running the below code:

Dim strApp As String
strApp = "Word.Application"
'check to see if Word is running
If Not IsRunning(strApp) Then
Set WordApplication = CreateObject(strApp)
Else
Set WordApplication = GetObject(, strApp)
End If
strApp = ""

ANYWAY TO MAKE SURE IT ONLY BINDS ONTO A SPECIFIC VERSION OF WORD IF
TWO VERSIONS ARE INSTALLED ON THE MACHINE?

any help greatly appreciated

Jason