I have a laptop and a desktop on my home network. Both are Win10 pro. The desktop is running Access 2010 and the laptop runs Office 365. My db runs flawlessly on the laptop but an email routine won't run on the desktop. The macro code:
EmailDatabaseObject
Object Type: Report
Object Name: CLGAFullList
Output Format: PDF Format (*.pdf)
To: clga@xxx
Subject: CLGA Member List
Message Text: Spring really is coming--right?!?
Edit Message: Yes
When I click the button that calls this code, the program closes but doesn't delete the .laccdb file, and it makes a backup of the program. On the laptop, it executes properly where it opens an email screen with the report attached and the message ready to be edited.
There is a cdo email routine used for sending individual emails, and it works just fine on both computers.
Other than the difference in Access versions, I cannot find any clues, and this was originally developed on the 2010 version. Any ideas?
EmailDatabaseObject
Object Type: Report
Object Name: CLGAFullList
Output Format: PDF Format (*.pdf)
To: clga@xxx
Subject: CLGA Member List
Message Text: Spring really is coming--right?!?
Edit Message: Yes
When I click the button that calls this code, the program closes but doesn't delete the .laccdb file, and it makes a backup of the program. On the laptop, it executes properly where it opens an email screen with the report attached and the message ready to be edited.
There is a cdo email routine used for sending individual emails, and it works just fine on both computers.
Other than the difference in Access versions, I cannot find any clues, and this was originally developed on the 2010 version. Any ideas?