Hi, need a little help with this error message that is suddenly appearing for one user in our Access database. We're primarily using Windows 7 with the full version of Access 2016 which works fine but IT are in the middle of upgrading to Windows 10 and they're refusing to put the full version of...
I did actually solve this issue. The problem was putting the link to the template inside the oWord.Documents.Add(). When I put the template inside of a variable first, then called the variable in the function, it worked fine.
Dim strFilename As String
strFilename = "F:\whatever.dotx"
Set...
I have a found a little work around. I've altered the Error function just to create Word again. I know it's not ideal but it does work fine with this.
Exit_MayCauseAnError:
Screen.MousePointer = 0
Exit Sub
ErrHandler:
'I don't know why Error 424 keeps popping up every 3 or 4 button presses...
The templates are on a mapped network drive actually. I know some colleagues do have trouble with F/H drive disappearing and they have to go to the network address instead. But that's never happened to me. F/H Drive has always been there.
I tried changing the template name to something else and...
I added a Watch to the variable with various breakpoints to see if it was empty or not when it fails. It's filled with the Word Document everytime which is puzzling.
It's at the bottom of the code. Before I was just using CreateObject("Word.Application") but wasn't sure if I should be using GetObject so I found a function to combine both. It still fails even without the separate function.
Hi, what I'm trying to do is open a word template from Access, populate some information and then attach it to an email. This is working fine in Office 2019 at home but our work computers are running office 2010 and it seems that after every two/three attempts, it fails with Object Required...