I'm writing a VBA class module that both Access 2000 and Word 2000 will use. How do I detect if it's Access or Word that's running the code? I want to conditionally compile code based on which one is running it.
#If (Access is running) Then
Dim shRegistry As New WshShell
strInstallPath =...
Searched tons of threads and MS KB articles, but can't figure out why I'm having this problem. Others have posted the following code, but they don't seem to get the error message 429, "ActiveX component can't create object" like I do.
Dim appIE As Object
Set appIE = GetObject(...
In the AutoText settings in Word (Tools menu, AutoCorrect, AutoText tab), there is a “Show AutoComplete tip for AutoText and dates” checkbox. I want to check this setting in VBA, but there doesn't seem to be a property for it. I checked the AutoTextEntry, AutoTextEntries, and even AutoCorrect...
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.