[Outlook] Insert Text At Start of Every Paragraph
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: [Outlook] Insert Text At Start of Every Paragraph

  1. #1
    Join Date
    Apr 2011

    Unhappy [Outlook] Insert Text At Start of Every Paragraph

    I have a probably unique situation. I want to write something that automatically runs in Outlook such that whenever I write an e-mail (either by hitting on the New Message button, or replying, or whatever) every paragraph I write starts with a static block of text. So, I need something that at the start of every paragraph (which I assume is just any line break followed by characters, because I don't need this text to show on blank lines), the word "PRIVATE" appears.

    Ideally, I'd want this to happen dynamically. I.E. when the user is writing an e-mail, he/she hits enter twice to start a new paragraph and when he/she hits the first keystroke of the paragraph (say "A" for example), he gets "PRIVATE A".

    Can this be done? Any advice, instruction, guidance, or links as to how?

  2. #2
    Join Date
    Jan 2006
    Fox Lake, IL

    Re: [Outlook] Insert Text At Start of Every Paragraph

    Look up Visual Tools for Office

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Jul 2001
    Sunny South Africa

    Re: [Outlook] Insert Text At Start of Every Paragraph

    Have a look into Creating AddIns for outlook

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

This is a Codeguru.com survey!

HTML5 Development Center