Microsoft Outlook is a personal information manager from Microsoft, available as a part of the Microsoft Office suite. Although often used mainly as an email application, it also includes a calendar, task manager, contact manager, note-taker, journal, and web browser.

Share tech news, updates, or what's on your mind.

Sign up to Post

Using VBA in Outlook

Is there a way to add a "Browse" button in an Input Box?
Keep up with what's happening at Experts Exchange!
LVL 12
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Using VBA in an Outlook Macro:

I am trying to BOLD text in a Input Box: "Please enter:" & vbLf & vbLf & "file_Name.csv"

The part I want to bold is the File_Name.csv so that is sticks out when the Input Box pops up.
A public folder added to "favorits" does not show subfolders within Outlook.

I have a real strange issue which seem to be a general problem because I can replicate this on multiple systems with different Exchange servers and different version of Outlook.

I have a public folder called SALE. I have created multiple subfolders.
I browse to this Public Folder, right click and choose add to favorits. I choose properties and check that I want to see subfolder + later created sub folders. Then I go to the "favorits" right click and chose "Show in Favorits" to make the Public Folder visible in the upper left corner of Outlook under FAVORITS.

The problem is, that even though I checked the "Show sub-folders" no sub-folders is visible within favorits.
The Server is an Exchange 2010 but I have seen this issue also with Exchange 2013.
Allowing O365 to update to build 1802 caused a problem and none of the Office applications would work.  Every time I opened one it said it needed to repair.  Pressing repair seemed to make it work but the next day, pressing repair just made the app shut down so I contacted Microsoft Support.  They reinstalled Office (it still doesn't work - second tier is logged in now)  Meanwhile back at the ranch.  When they tried to fix the problem on Friday, they deleted my contacts, calendar, and rules.  I have an .ost file from just before this happened, But each time they do another install (we're up to about 8 by now), it creates a new .ost file.  

1. I have the .ost file from before the reinstall.  Will going back to the original .ost file restore my missing items?
2. What is the proper procedure for AUTOMATIC backup of Outlook settings.  I use Carbonite and they only backup .pst files.  they do not back up .ost files so what am I supposed to do?  I really don't want to have to remember to manually create a backup every day/week/whatever.
I am trying to find the most economical way to get Office 365 (with Outlook 365) on a computer. In this scenario I have one computer with 5 different people logging in. Microsoft said I could get on Office 365 Pro license (to get Office) and five Office 365 Essentials licenses to get mail. This guy was saying that all users can use Office once it is installed but that it would prevent them from "Signing In". He wasn't too sure of himself.

   So is he correct? If I get one Office 365 Pro license and install it on a computer can all users of that computer legally use Office? What do they lose by not being able to "Sign In"?

Actually he just emailed and took it one step further. He said I could install one Office 365 license on 5 computer. That can't possibly be try can it?

I am wanting to use a macro in Outlook to automatically attach files to the email message as attachments.  The file names and paths would be stored as bookmarks in the body of the message.  The text within the bookmarks gets populated from a merge process there may be up to 10 bookmarks, (AttachFile1, AttachFile2, etc etc etc).  Below is the simple AttachmentAdd which works, but the file names being attached  vary with each email message.  Therefore I am storing the filenames to be attached in a set of bookmarks,

Dim objMessage As Object
Set objMessage = ActiveInspector.CurrentItem
objMessage.Attachments.Add ("C:\Path\Filename.pdf")

Any suggestions would be greatly appreciated.

Many thanks

Good morning.

Very simple with only one exchange...i want to implement a way to clean up mailbox...in order to delete emails older than 6 months.

Exchange 2013 with Outlook 2016.

What we can do?
Is there a way to administratively run a PowerShell script to delete a specific Outlook Task sent out to a subset of users?  

Thanks in advance.
We are using gmail with our own Domain name.

How do we encrypt Outlook 2007, 2010, 2013, 2016 emails so the recipient has to enter a password to open email (w/ or w/o attachments)?

Also, can we do the same within Gmail emails itself via web browser?

I have a computer that has Outlook 2010.   There are 5 accounts on this Outlook.  For some reason all of a sudden there is a new default data file which is Outlook.pst which is now causing all 5 accounts to show all e-mails of those 5 in all 5 accounts.  I cannot get rid of this new "Outlook.pst" and I cannot make any other Data File the "Set as Default"  These are all Imaps.   Should I reinstall Outlook and make them Pops and import the correct data file to the correct e-amil account?
Easily manage email signatures in Office 365
Easily manage email signatures in Office 365

Managing email signatures in Office 365 can be a challenging task if you don't have the right tool. CodeTwo Email Signatures for Office 365 will help you implement a unified email signature look, no matter what email client is used by users. Test it for free!

Is there a way to copy an OutLook vba project out to share with others?  In the VBA-Editor in OutLook, I have a Project1(VbaProject.OTM)  it have a few userforms, modules etc packed into it.  How do I save this out, to share with someone?  I see that I can export each item, one at a time, but wondering if there is a way to capture them all at once and import/share them all at the same time?
Please advise and thanks.
I have an InputBox that is asking for a text string. (InputBoxVal).  How come when I try and concatenate the value with something else it does not want to?
The result I am looking for is: Summary##[whatever InputBoxVal is]##    so if I typed in the InputBox  "EE-Rocks"  the result would be:  Summary##EE-Rocks##

InputBoxVal = InputBox("Please enter and breif Summary for this ticket")
        .Body = .Body & "Summary##"&InputBoxVal&"&"##" & Chr(10)

Open in new window

What am I doing wrg in Ln2?
It it putting a line into the body of an email...  Please advise and thanks.
This is using a newly-setup MS Exchange server 2016, in MS AD Domain 2012. There is only this 1 exch2k16 server. However, although Outlook configuration is working, it shows with this error messages as follows:

   This is a problem with the proxy server's security certificate. The name on the security certificate is invalid or does not match the name of the target site abc.local.

   Outlook is unable to connect to the proxy server. Error code is 10.

For the ssl certificate, this is using the default self-signed certificate. I heard that this could be due to the "OutlookAnywhere" virtual directory settings. Please see the results of  "get-outlookanywhere | fl" as follows:

    RunspaceId                         : 6893c094-efeb-42f3-a56f-7e04f7b17883
    ServerName                         : EXCHSRV01
    SSLOffloading                      : True
    ExternalHostname                   : sispl.abc.com
    InternalHostname                   : exchsrv01.abc.local
    ExternalClientAuthenticationMethod : Ntlm
    InternalClientAuthenticationMethod : Ntlm
    IISAuthenticationMethods           : {Basic, Ntlm, Negotiate}
   XropUrl                            :
  ExternalClientsRequireSsl          : True
  InternalClientsRequireSsl          : True
  MetabasePath                       : IIS://exchsrv01.abc.local/W3SVC/1/ROOT/Rpc
  Path                               : C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\rpc
Hi, I've been searching for a macro that does the following but can't seem to find one that works without a rule --> "run script", and works for Outlook 2016:

Needs to:
1. Save attachments of all selected (highlighted) emails to a predefined folder (ex: C:\Users\...etc)
2. There are many duplicates, so change name of duplicate to File name + i.
3. Not delete the attachments from the email after saving.

I hope this is possible!!
We are having an issue with mobile users not receiving emails that have attachments when working from home on Wi-Fi.  Email without attachments are received without issue.  

When users return to office and connect to wired network connection, all emails are received (including the ones with attachments that did not come in the day before when working from home on Wi-Fi).

 The users are connected to office network through Sonic Wall Global VPN Client to access files and folders on servers, but email is hosted using Office 365 Business Essentials, email only.  VPN is not required for them to access email.  Outlook 2010 and 2013 on users laptops.  

Any help is appreciated.

Is there an Exchange 2010 PowerShell command to add a shared mailbox to a user's Outlook client without the user having to add it himself?  Also is there a command to show/verify if that shared mailbox has been added or loaded into the user's Outlook client?
Emails from Mac are having fonts changed randomly. One user is complaining that everything seems okay on his Mac, however, he noticed that when people reply to his emails, his [art has different font and size to the one he used to send that email. We did some testing and it is definitely his machine. He is using Outlook 2011 for Mac and Mail. He has Mac OS X version 10.10.5. We are using Office 366 and he has Exchange account added to his email programs.
I was thinking about disabling Rich Text options on the email server and only leaving Plain Text and HTML.

How can I make sure that his emails look all the same?
I have a client who has a POP3 account in Microsoft Outlook 2016 Professional Plus.  When I try to change his account settings, going to More Settings then Advanced, the default delivery is "Leave a Copy of Messages on the Server" and "Remove from Server After 14 days".  Both of these items are checked.  I have went into this account and tried to take the checks off of both of these boxes as the user doesn't want messages saved to the server.  I can uncheck the boxes and click OK.  It takes me back to the prior screen of which I click on "Next".  A window pops up showing that Microsoft Outlook quit working and then subsequently closes Outlook.  You then launch Outlook again, but the settings are checked again.  Is there a way to get this permanently modified?

We have this script to delete phising emails from our organisation, however we also these requirements:

1)      We need to add into the search-mailbox after -searchquery an additional requirement for date or time, as we only want to search for emails since a certain date. We use this script to delete phishing attack emails, so we know when they started, so need to be able to search for all emails since a date and delete them if the subject matches. So the most recent example, would be all emails containing subject “RE: NOTICE: MC Support UPGRADE.” however only emails received after 01/03/2018. I assume we can just do -searchquery “Subject:’Content of Subject’ AND ReceivedDate:>01/03/2018” or something like that?
2)      We need to be able to search for subjects with special characters in. –searchquery “Subject:’RE: NOTICE: MC Support UPGRADE.’ Will currently give an error as it won’t like the : in the subject.
3)      We need to be able to search for the above criteria, but also potentially include only emails from certain email addresses. One of the phishing emails was “RE: Attention (Staff Migration)” which could be very close to something we actually send to users. The phishing email only came from a certain email though, so if we add an extra criteria for sender, that would help us focus the search.

Please can someone show me how to achieve this?

also I would appreciate if you any other suggestions for improvement.

$mbs = Get-Mailbox 

Open in new window

Free tool for managing users' photos in Office 365
Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

Looks like my Outlook is having another nervous breakdown. What is the proper way to rebuild my Outlook profile? I do not want to lose all the rules plus I do not want to double up all my contacts. I want to move all the existing emails into another pst file and start fresh with a much smaller pst file. This is Outlook 2013.
OK so I love Linux. Linux is great.

Now I was talking to a consultant about email for a website. He said there's only three types of email: Google, Office 365 and maybe if you know what you're doing Outlook.

Now I am thinking about what he told me and I am thinking about setting up a mail server. Just to put it on my IT cred (I'm a student).

Is it completely 'stupid crap' to run Linux for an email server?

I've avoided running Windows servers to current - is this a good opportunity to run a Windows server?
In outlook I have created my email signature and it works great. How do I fix it so that when I do a reply to an email message, the reply automatically is populated with my email signature?

I have Outlook 2016 for Mac with Office 365 account. On my profile I have my personal account and shared mailboxes.

I have to send emails and delete some of them through the shared mailbox.

Is there a way to keep the deleted items on the shared mailbox folder and not on my personal folder? I know the registry fix on Windows but I can't find any way on Mac...

We use QuickBooks 2016 and we have lost the ability to send eMail through Outlook 2016. Have tried all the solutions on the Intuit site, our Mail API works correctly and preferences are set, etc.
I need to export out all "older than one year" emails from approximately 150 users on Exchange Online (Office 365) into local PST files.

What is the best / easiest / quickest way to go about it?

The old emails need to be removed from their inboxes so that only the PST archive copies exist.






Microsoft Outlook is a personal information manager from Microsoft, available as a part of the Microsoft Office suite. Although often used mainly as an email application, it also includes a calendar, task manager, contact manager, note-taker, journal, and web browser.

Vendor Experts

Sandeep KumarKernel Data Recovery Learn more about Kernel Data Recovery
Naveen SharmaKernel Data Recovery Learn more about Kernel Data Recovery