This category contains code samples put together to solve a specific user’s problem. The pages may not have detailed instructions for use.
Use a macro to write Outlook values to an Excel spreadsheet.
A user had this question: I want to do the following: 1. Copy a message from one public folder to another public folder 2. Mark the original message as read 3. Mark the original Complete 4. Add a Category to it A Quick Step will categorize the e-mail first (it has a higher priority) and
Use a macro to import data from a CSV or Excel xlsx file to create meeting requests or appointments.
Use a run a script rule or an ItemAdd macro to look for messages with attachments. When the attachment is a specific file type, do something with the message.
How to choose the file path when you save an Outlook attachment or a message using a VBA macro.
A VBA code sample to save one or more selected messages to your My Documents folder as .msg files, using the received date and time as the filename.
How to change the message format on selected messages when replying. You can also use a Run a Script rule to change the message format as messages arrive.
Use a macro to copy attachment names from the original message to the reply or reply all in HTML or plain text messages.
You can't run rules on a shared mailbox and client-side rules in a mailbox won't run if Outlook is not open. Use an ItemAdd macro to watch the folder for new items.
A visitor to the Microsoft Answers forum asked about forwarding a message and automatically CCing it to the original recipients.