|
-
Dec 12th, 2005, 04:30 PM
#1
Thread Starter
Fanatic Member
vba outlook and ms access
Hey everyone
I would like to add a button to outlook express that will check the current email message for its sender and will look for it in an access table:
1. can I automate outlook express like automating outlook?
2. how do I add a button?
3. how do I compare the current message sender to an access table?
I'd appricieate your help on this!
-
Dec 12th, 2005, 05:10 PM
#2
Re: vba outlook and ms access
You can automate Outlook, but not Outlook Express. RobDog has posted a lot of code for automating Outlook using VB. Is that what you want to do?
-
Dec 12th, 2005, 09:46 PM
#3
Re: vba outlook and ms access
1. No
2. Cant
3. Cant
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Dec 18th, 2005, 11:16 AM
#4
Thread Starter
Fanatic Member
Re: vba outlook and ms access
Thank you for your replies.
1. how do I add a button to outlook (not outlook express)
2. how do I connect outlook to MS access table - I'd like to search an MS access table containing email addresses for the current message recipent in outlook.
Thanks in advance,
-
Dec 19th, 2005, 03:21 AM
#5
Re: vba outlook and ms access
1. Use the CommandBars collection to add a new button to an existing menu or toolbar.
2. Use ADO to connect to Access and search for the email address that you pass in the querystring.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Dec 23rd, 2005, 01:03 AM
#6
Thread Starter
Fanatic Member
Re: vba outlook and ms access
Hey RobDog888,
Thank you for your reply, Could you please give me a short example for using ADO to connect to Access and check the current email message recipients?
Thanks again,
-
Dec 23rd, 2005, 01:06 AM
#7
Re: vba outlook and ms access
Its a bit lengthy but we have a tutorial in the VB FAQ Forum. To connect to your Inbox you can use the Outlook Object Model. Search by my username and Outlook for several code examples on the forums.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|