Re: Filling Word Form from Access
- From: "Perry" <drumper@xxxxxxxxx>
- Date: Mon, 12 Feb 2007 20:12:14 +0100
Your MS Office installation got corrupt.
I would advise a full re-installation.
If it concerns an enterprise rollout of Office, you will need to talk to the IT ops department for this.
--
Krgrds,
Perry
System:
Vista/Office Ultimate
VS2005/VSTO2005 SE
<fmackay@xxxxxxxxxxx> schreef in bericht news:1171294313.739061.319070@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On 9 Feb, 18:28, "Perry" <drum...@xxxxxxxxx> wrote:> I tried this already, "Set appWord = New Word.Application" does start
> a new WINWORD.EXE process but I can't seem to do anything with it, eg
> if I follow that line with "appWord.Visible = True" I don't get a Word
> window appearing.
That's strange.
Let's see whether yr system allows you to do something completely basic as
in:
sub testingword()
Dim wdapp as new word.application
dim doc as word.document
wdapp.visible = true
set doc = wdapp.documents.add
end sub
Do you see the newly created document?
This breaks at line "wdapp.visible=true" with error 80040155
"automation error - interface not recognised".
Dim wdapp As Word.Application
Set wdapp = New Word.Application
breaks at the second line with the same error, while
Dim wdapp As Object
Set wdapp = CreateObject("Word.Application")
gives error 424 "object required"
Trying Excel instead of Word doesn't work either - I think there's
something wrong with the office installation on this machine and I
probably need to call our IT dept in.
Many thanks for your help up to this point,
Finlay
.
- References:
- Filling Word Form from Access
- From: fmackay
- Re: Filling Word Form from Access
- From: Perry
- Re: Filling Word Form from Access
- From: fmackay
- Re: Filling Word Form from Access
- From: Perry
- Re: Filling Word Form from Access
- From: fmackay
- Re: Filling Word Form from Access
- From: Perry
- Re: Filling Word Form from Access
- From: fmackay
- Filling Word Form from Access
- Prev by Date: Re: Filling Word Form from Access
- Next by Date: Re: Fractional seconds
- Previous by thread: Re: Filling Word Form from Access
- Next by thread: how to read the visible part of a ***
- Index(es):