Results 1 to 5 of 5

Thread: Outlook Form: Click on CheckBox and Auto add e-mail to BCC in message area

Hybrid View

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    2

    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.

  2. #2

  3. #3
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  4. #4

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    2

    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.

  5. #5
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    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:
    1. Sub CheckBox1_Click()
    2.     MsgBox "Check/UnCheck"
    3. 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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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
  •  



Click Here to Expand Forum to Full Width