Using Autofill in Microsoft Outlook lets you save information needed for common messages. For example, you can save frequently used addresses, phone numbers, and date/time information.
Autofill also allows you to enter the text that Outlook will insert in the “To” section of a message.
The subject line of an email reveals the title of your email to the recipient, many often users want to set up an attachment name as the email subject in Outlook.
How do prevent typing the same text repeatedly? The role of autofill the subject lines for new email messages comes into play.
In this article, you can learn related issues and methods to execute the autofill in the Outlook subject line.
Outlook quick steps subject one of the options allows the user to automatically fill the subject line with the specific content prescribed by the user.
Here is the step-by-step guide
- Open Outlook >> Click Home Tab
- Click the Create New in the Quick Steps box on the ‘Quick steps’ junction.
Edit quick steps popup appears. Initially name your quickstep and enter the name in the name section, secondly Choose an Action box, and select the New Message in the Respond section from the drop-down list.
In the same dialog box ‘Edit Quick Steps’, click on Show Options just below the To box.
Enter your subject in the Subject Box, and you can flag your message and set the important criteria, there is a short key also available according to your choice, and Finally, Click Finish.
Above step customize the quickstep button for the new mail message. You can check out the Quickstep junction in the home tab, your quickstep button grabs the position which was not there earlier.
Click the To Mail Smartly button and you would be redirected to the new mail message tab and the subject line is already filled with the subject.
Auto-populate Date in outlook subject line
Adding the current date or current time in the subject line seems professional and smart working to keep the record which can be searched in the future very easily.
To do so here is the step-by-step tutorial ~
Most Outlook users enter the date, time, or both manually in the subject line, which is hectic to enter every time.
Auto insert today’s date in the outlook subject line brings professionalism & perfection to your work.
- Step 1 – Open Outlook >> Home Tab >> New Mail >> Developer >> Click Developer Tab
- Step 2 – This step walks you through another page with multiple options, in this scenario click right to the Subject box, and select the properties.
- Step 3 – Properties dialog box pops up, click on the value tab, find the Initial value, type Date () click the OK button, if you like to mention the time you need to type Now () in the Edit box, which will automatically enter the current time into your subject line.
- Step 4 – The next step is to save the page, Click the Publish >> Publish form on the developer tab.
- Step 5 – Enter the name of the file in the display name and click publish.
That’s the end of part I, you have created the customized message board which allows you to insert the current date or time for creating a new message.
It’s time to learn how to insert today’s date in the outlook subject line
- Click Choose Form button on the Developer tab of the main outlook main screen, no need to open new mail this time.
- Click on the ‘Look in’ box and select the Personal Forms Library.
- You can find your saves which you have created in part I.
- Select and click open.
- After clicking open, the new mail dialog box appears and you can check a new tab created with the same name you have given to the form, and the subject line is automatically filled with the current date.
Autofill subject line using VBA
VBA coding is the programming you can easily manually insert in your outlook which can work for you in many different tasks, here you can simply copy and paste the given codes into outlook to autofill the subject line.
Here is the step-by-step tutorial “How to insert VBA in Outlook?“
- Open Outlook >> Click Alt + F11 >> Microsoft Visual Basic page appears. (It’s completely different and unfamiliar to most users), but there is nothing to worry about.
- The next step is to insert a module by clicking the Insert >> Module.
- Copy (Ctrl + C and Paste Ctrl + V the below code)
Dim MItem As MailItem
Set MItem = Application.CreateItem(olMailItem)
MItem.Subject = “your preset subject”
In the fourth line of VBA, you must replace your present subject with the subject line you like to fix for your email.
Finally, you are ready to go, you can click the Run button on the toolbar or simply press the F5 key to run this VBA code.
How to autofill the email subject line with the attachment name in outlook?
Manually typing the attachment name in the email subject line is another hectic process, VBA is the only solution that automatically reads and imposed the attachment name into the subject line.
The steps are exactly the same to insert VBA Code into Outlook, all you must do (Copy Ctrl + C and Paste Ctrl + V the below code).
Public WithEvents olInspectors As Outlook.Inspectors
Public WithEvents olMail As Outlook.MailItem
Private Sub Initialize_handlers()
Set olInspectors = Application.Inspectors
Private Sub olInspectors_NewInspector(ByVal Inspector As Inspector)
Dim olItem As Object
Set olItem = Inspector.CurrentItem
If TypeName(olItem) = “MailItem” Then Set olMail = olItem
Private Sub olMail_AttachmentAdd(ByVal Attachment As Attachment)
If olMail.Subject = “” Then
‘If you don’t want the prompt,
‘Just delete the Msgbox line and its corresponding “End if”.
If MsgBox(“Do you want to use the attachment name as the subject”, vbYesNo) = vbYes Then
olMail.Subject = Attachment.DisplayName
Here is something new autofill the subject line in Outlook, I personally enjoy working with this. After using it, please comment below and share your experience.
In summary, the “Autofill Subject Line” on Outlook is amazingly useful and can help you save time. It helps to save time because you don’t have to type the same message over and over.