+ Post New Thread
Results 1 to 3 of 3
Office Software Thread, Insert into Outlook subject in Technical; Hiya, hoping someone here will know the answer to this. We use some software, that based on a certain word ...
  1. #1

    Join Date
    Feb 2009
    Posts
    20
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Insert into Outlook subject

    Hiya,

    hoping someone here will know the answer to this. We use some software, that based on a certain word in the subject line of an email (say, for example if my subject starts with Domain1), it will attach a Domain1 email template. If I use Domain2 in subject, a different template is used.
    What I'm looking for now is a bit of software, or VBscrript, that could run on a user's machine... what should happen is that when someone clicks on send, it will pop up, and ask which word to insert into subject, and offer them 2 or more options.

    Anyone come across anything like this by any chance?

    Adam

  2. #2

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,157
    Thank Post
    116
    Thanked 529 Times in 452 Posts
    Blog Entries
    2
    Rep Power
    124
    I'm sure you could do it in VBA but I'm not really sure what you're trying to do :-)

    The code below is pretty trivial but it might show you something about what you can do.
    When you send an email it will pop up message boxes showing you the message, recipients and subject.

    It then sticks the word "Checked:" at the start of subject and sends the message.

    Not sure if this will get you started as to how you can change the message when it's sent???

    Code:
    Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
     
    
    MsgBox Item.Body
    For Each x In Item.Recipients
        MsgBox x
    Next
    MsgBox Item.Subject
    Item.Subject = "Checked: " & Item.Subject
    
    End Sub

  3. #3

    Join Date
    Feb 2009
    Posts
    20
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi,

    thanks for your reply... what you'be got for me there is not far off from what I need, so I'm hoping you can modify this for me slightly - I have zero skills in this kind of coding.
    So, let's say I click Send in outlook. I would like a popup box to appear, which says something like:

    "Is this an UM or MP email?"

    And then user is presented with two buttons, UM and MP. If they click UM, the word UM: is inserted into subject line automatically, or if they click MP, MP: is inserted into subject line.

    Really genuinly hope you can help with this!

    Adam

SHARE:
+ Post New Thread

Similar Threads

  1. Subject selection software
    By mdschumann in forum Educational Software
    Replies: 8
    Last Post: 22nd June 2009, 05:28 PM
  2. IT Staff Idemity Letter Needed (Sensative Subject)
    By ICTNUT in forum School ICT Policies
    Replies: 19
    Last Post: 19th June 2009, 08:44 AM
  3. Fewer Students Taking 'A' Level ICT as a Subject
    By tech_guy in forum General Chat
    Replies: 56
    Last Post: 5th March 2009, 10:53 AM
  4. [MS Office - 2003] Outlook doesn't display zip files in the Insert file dialog
    By firefox_2006 in forum Office Software
    Replies: 0
    Last Post: 5th November 2008, 09:35 AM
  5. Script to Create My Documents Subject Folders
    By SwedishChef in forum Scripts
    Replies: 15
    Last Post: 5th July 2006, 08:14 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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