How can I insert a repetitive subject line each time I want?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have numerous emails related to one subject on a daily basis, and would
like to either hit <CTL><R> or any key to delete the reply subject line and
lay in the line of choice, OR use a right-click shortcut if one can be
created.

I have attempted to create a Macro, yet it seems Macros won't do a thing for
the subject line.

Any help?
 
I have attempted to create a Macro, yet it seems Macros won't do a thing for
the subject line.

Did you create your macro in the Outlook VBA module? Try this code:

Sub AddSubject()
On Error Resume Next
Set msg = Application.ActiveInspector.CurrentItem
If Not msg Is Nothing Then
msg.Subject = "something"
End If
End Sub

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Sue Mosher said:
Did you create your macro in the Outlook VBA module? Try this code:

Sub AddSubject()
On Error Resume Next
Set msg = Application.ActiveInspector.CurrentItem
If Not msg Is Nothing Then
msg.Subject = "something"
End If
End Sub

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers


Thanks Sue!

Unfortunately, I cannot get the Macro to run on the Subject line. No matter
how I configure things, it just won't grab the existing reply subject, delete
and lay in the new one I want. Bummed.

Is there a keyboard shortcut that might handle this?
 
Unfortunately, I cannot get the Macro to run on the Subject line. No matter
how I configure things, it just won't grab the existing reply subject, delete
and lay in the new one I want. Bummed.

So, what happens when you use the VBA debugger to step through the code I provided? You did put it in Outlook VBA, not Word VBA, right? (You didn't say what editor you're using for email.)
Is there a keyboard shortcut that might handle this?

Once you have the macro working, we can talk about ways to launch it.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Plug Man said:
I have numerous emails related to one subject on a daily basis, and would
like to either hit <CTL><R> or any key to delete the reply subject line
and
lay in the line of choice, OR use a right-click shortcut if one can be
created.

I have attempted to create a Macro, yet it seems Macros won't do a thing
for
the subject line.

Any help?

Try www.shortkeys.com - works inside any Windows app. I'm not connected with
them, just a v. happy user


--
John Blessing

http://www.LbeHelpdesk.com - Help Desk software priced to suit all
businesses
http://www.room-booking-software.com - Schedule rooms & equipment bookings
for your meeting/class over the web.
http://www.lbetoolbox.com - Remove Duplicates from MS Outlook
http://www.outlook-find-replace.com - Find & Replace in Emails, Contacts,
Appointments, Tasks and Notes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top