Hmm, had this problem myself. The solution is to ensure that every call to word is preceded by the reference to word – objWord in your case. Otherwise, your OS gets confused about whether it’s talking to this instance of word, or another.
Check it out – when this error occurs, start your Task...
I agree – I like my applications to look like Microsoft has designed them, not least because most users understand Microsoft’s way of doing things. This way, when we’re training users, there’s no need to train them to perform bizarre actions just to carry a simple task. The VB common dialog...
Hmm, not sure if this is going to help, but:
I've found that this way of error handling is a one shot-shot thing. That is, it will find the specified error once, and jump to the marker in the code ("miss:" in the code you wrote). If the same error happens again before you exit the...
I too am having the same problems – the PDW created a HTML document with a link to the VBD document, but clicking on the link gives the error message “Windows cannot open this file” and asks if I want to search the web or select a program to open the file. I have been through all the...
Using VB6, I made a very simple form, accessing a table in Access. I then used the VB add-in “ActiveX Document Migration Wizard” to convert the form into a user document. I tested this, and it ran in Internet Explorer with no problems. Next, I used the VB add-in “Package and Deployment...
maybe by using:
docmd.setwarnings False
<command producing error message>
docmd.setwarnings True
This works in VBA, and you may have to include a reference to MS Access in you project.
I had a similar problem, but I was connecting from one access database to another password protected access database. Below is the code I used to make the connection at runtime, where xxxxxxx is the password needed. NewPath is a string representing the path to the password protected database -...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.