Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 08-13-2019, 08:59 PM
gmayor's Avatar
gmayor gmayor is offline Select specific Account after using EnvelopeVisible Windows 10 Select specific Account after using EnvelopeVisible Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,142
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Quote:
You put me on the right track: I changed
Set olApp = OutlookApp ()
into
Set olApp = GetObject(, "Outlook.Application")
Except that isn't the right track. You should have copied the complete function from the web site and called it from the macro as I indicated. This then ensures that Outlook is always opened or accessed correctly.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot change/select/Add older .PST file from Account Settings n O2016 Hixpix Outlook 0 09-26-2017 03:51 AM
Select specific Account after using EnvelopeVisible How do I select all text highlighted in a specific colour? bertietheblue Word 2 04-15-2016 12:30 PM
Select specific Account after using EnvelopeVisible signature for specific account Mr.T Outlook 1 02-17-2015 03:10 PM
Mark BCC when emails is sent from specific account vijanand1279 Outlook 0 05-27-2014 09:59 PM
Select specific Account after using EnvelopeVisible Using ActiveWorkbook.EnvelopeVisible = True to send part of a sheet as an email. bshawnr Excel Programming 1 04-12-2014 05:02 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:36 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft