|
-
Feb 28th, 2006, 05:24 PM
#1
Thread Starter
New Member
Outlook Form: Click on CheckBox and Auto add e-mail to BCC in message area
Hi,
I am very new to VB. As in just looked at a basic explanation a few hours ago. Kind of lost. I'm computer literate but this is all new to me. I'm hoping someone can help me out and it would be much appreciated.
I'm setting up a one off Outlook Form with a few basic functions. Most of it is simple textboxes and checkboxes.
For 3 checkboxes on page 2 if 1,2,or 3 of them are checked, I wanted it to automatically add a particular e-mail address to the BCC, recipientcontrol1, in the Message section on Pg 1. And if someone made a mistake in checking 1 and they unchecked it then that e-mail address would disappear. It's for various people to use so wanted to automate some things. Is this possible?
Thank You.
-
Feb 28th, 2006, 06:45 PM
#2
Re: Outlook Form: Click on CheckBox and Auto add e-mail to BCC in message area
-
Feb 28th, 2006, 06:53 PM
#3
Re: Outlook Form: Click on CheckBox and Auto add e-mail to BCC in message area
Welcome to the Forums. 
Which version of Outlook are you running?
Is this One-Off form based upon which form? IPM, IPM.NOTE, etc.
You need to write VB Script code behind the form to create the events and evaluations.
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 
-
Feb 28th, 2006, 09:41 PM
#4
Thread Starter
New Member
Re: Outlook Form: Click on CheckBox and Auto add e-mail to BCC in message area
Hi,
Thanks. I'm using Outlook 2003.
I'm not sure which class that would be with the IPM and all that. I was doing this at work and don't have it in front of me right now. I can also show the pages when i have access to it. I used 'Message' from the standard templates folder to start designing the one off form with the toolbox. I thought this was going to be a simple Checkbox and Textbox form and then they started requesting some automatic features. Just started reading up on some vb script. I'm sure it's a simple few lines of script but just not getting the hang of it. I was trying parts of examples to try and get something going but I think it's all wrong. Any help would be appreciated.
Thanks again.
-
Feb 28th, 2006, 10:16 PM
#5
Re: Outlook Form: Click on CheckBox and Auto add e-mail to BCC in message area
The 'Message' default form is the IPM class form.
Try this out for your first checkbox.
VB Code:
Sub CheckBox1_Click()
MsgBox "Check/UnCheck"
End Sub
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
|