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 ...
6th August 2009, 03:28 PM #1
- Rep Power
Insert into Outlook subject
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?
IDG Tech News
6th August 2009, 08:12 PM #2
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???
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
For Each x In Item.Recipients
Item.Subject = "Checked: " & Item.Subject
7th August 2009, 03:24 PM #3
- Rep Power
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!
By mdschumann in forum Educational Software
Last Post: 22nd June 2009, 06:28 PM
By ICTNUT in forum School ICT Policies
Last Post: 19th June 2009, 09:44 AM
By tech_guy in forum General Chat
Last Post: 5th March 2009, 11:53 AM
By firefox_2006 in forum Office Software
Last Post: 5th November 2008, 10:35 AM
By SwedishChef in forum Scripts
Last Post: 5th July 2006, 09:14 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)