How to add a folder shortcut to outlook quick access toolbar?

Geoff

New Member
Outlook version
Outlook 2016 64 bit
Email Account
Office 365 Exchange
Hi Diane,
I've been using your code for folder shortcuts on the quick access toolbar for a long time and very happy with it.
However I sometimes experience a problem where some shortcuts fail to work and a restart of Outlook is required.
When this problem occurs some of the shortcuts continue to work while others don't work until the restart.
After the restart the failed shortcut is fine until maybe hours or days the problem occurs again. Its so random I can't pin done what could be causing the problem
The only thing I can think of is possibly a network delay or lag that prevents data (folder path) being retrieved in time.
Do you have any ideas what couyld cause this problem or how I could resolve it?
Is the a way I could change the code in the function to wait for the server to respond or re-query the server if the error occurs?

If I haven't included enough info please let me know.
Thanks
Geoff

Ashampoo_Snap_2020.08.06_08h47m28s_018_.png


Ashampoo_Snap_2020.08.06_08h47m43s_019_.png


Ashampoo_Snap_2020.08.06_08h48m05s_020_.png
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
The only thing I can think of is possibly a network delay or lag that prevents data (folder path) being retrieved in time.
It's possible that is the issue. Is that a shared mailbox and are you caching shared folders?
 

Geoff

New Member
Outlook version
Outlook 2016 64 bit
Email Account
Office 365 Exchange
It's possible that is the issue. Is that a shared mailbox and are you caching shared folders?
Hi Diane, Thank you for your reply.

Yes it is a shared mailbox and yes I think the folders are being cached although I get lost in that area.
Should the folders not be cached? What is the affect if the folders are not cached?
If the folders are cached is it faster response but the data is updated in the background?
If the folders are not cached does that cause slower response but less errors?

Thanks
Geoff

Ashampoo_Snap_2020.08.07_00h09m40s_003_.png
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
that shows it is cached. Cached is generally better - and with it cached, it should work. I wonder... if the problem is because the shared mailboxes don't have their own data file so getfolderpath may not always work as expected.... (i use getshareddefaultfolder -
Working with VBA and non-default Outlook Folders )
.
2020-08-06_15-36-23.png
 

Geoff

New Member
Outlook version
Outlook 2016 64 bit
Email Account
Office 365 Exchange
Hi Diane, Thank you for your reply.

I've added this code under Sub open_staff_Geoff_Geoff2_New_method() but I don't think its quite right as it doesn't work although there are no error messages at this stage.
I need a little more guidance with how the code should look.
The link in your above post seems to refer to a calendar but I'm trying to open an email folder.

Thanks
Geoff

Ashampoo_Snap_2020.08.07_21h22m28s_001_.png
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
my code sample will work with any folder - hcange the folder to olfolderinbox for inbox. but if your code works (most of the time), use it.

In the shared mailbox method, uncomment the message box line - does it come up?
Also Recipient will be the mailbox name - then you need to 'walk' down to the subfolder. You need to limit the number of dots in a line - so you can repeat it to step down tothe folder you want.
objolapp = objolapp.folders("staff").folders("geoff")
objolapp = objolapp.folders("geoff2")
 

Darrseya

New Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server 2010
Thank you for sharing this information. This may be useful to me.
 
Thread starter Similar threads Forum Replies Date
G Add to Outlook Contacts - Point to non-default contacts folder Using Outlook 0
P Add, remove, & reorder folder pane Using Outlook 6
B When working on emails in a certain folder, when I hit reply or reply all, I would like it re always reply all and add an email address to send to Outlook VBA and Custom Forms 3
Fozzie Bear Wishlist To be able to add a local folder or network share location in foldern view Outlook Wishlist 1
T Add 'Move to folder' icon to custom form Using Outlook 1
A Add Contact to Public Folder Ability Outlook Wishlist 3
C problem of add replicate of ex2k public folder to ex07 Exchange Server Administration 4
M How to Create Macro in Visual Basic to add Contacts from Personal Folder Using Outlook 4
N Favorite Folders list in outlook navigation pane, can you add a message to the favorite folder list Using Outlook 2
R how to add msn folder in outlook Using Outlook 1
R Outlook 2010 add a contacts folder Using Outlook 1
M Outlook 2010 and the add-in Advanced Folder Watch Using Outlook 2
B Outlook 2010 - unable to add a Public Contacts folder as an email address book - 'Outlook Address Bo Using Outlook 1
C How do I change the default "Add to Outlook Contacts" Folder Using Outlook 6
M How to add a message to a mapi view folder Outlook VBA and Custom Forms 1
T Outlook add-in: How to find localized name of the "Junk e-mail"folder Outlook VBA and Custom Forms 15
P Shortcut Pane - add shortcut to Office365 group mailbox Using Outlook 1
B Add ComboBox Value to Body of Email Outlook VBA and Custom Forms 1
M Automatically add senders first name to a greeting Outlook VBA and Custom Forms 1
C Add Form to Appointments Received, Automatically Outlook VBA and Custom Forms 6
O Outlook tasks - Add text column with multiple lines Using Outlook 3
W April 2020 Office 365 Update - Add-Ons fail after Office 365 Update Using Outlook 6
B Task Filter Not Working When I add too many criteria Using Outlook 0
D Add date next to day name in Outlook Today calendar view Using Outlook 1
D iCloud Add-in not working in Outlook 2013 and Outlook 2016 After Windows Upgrade & iCloud Upgrade Using Outlook 2
P Add Paste Unformatted to QAT Using Outlook 1
M Ignore slow add-ins Using Outlook 0
B Add Prefix text to Subject Line Using Outlook 1
Jennifer Murphy Add birthdays to calendar Using Outlook 7
Z Add text to auto-forwarded e-mail Outlook VBA and Custom Forms 4
L Tired of Outlook disabling Adobe PDF Creator add-in Using Outlook 1
R Add 'Company' to Select Names Form Using Outlook 1
A Outlook 2016 Web add-in missing on some machines Using Outlook 9
P Syncing problems with add-ins Using Outlook 3
Mark Foley Cannot enable add-in in outlook 2010 Using Outlook 0
BretAB Is it possible to add a lookup field to a Message form? Outlook VBA and Custom Forms 4
J Add an Attachment Using an Array and Match first 17 Letters to Matching Template .oft to Send eMail Outlook VBA and Custom Forms 2
iwshim outlook 2013 - I cannot see the "Manage Add-ins" Using Outlook 2
A Add multiple servers "on behalf of" email to "safe senders" list. Using Outlook 1
S Add Exchange Account as Secondary to Existing PST? Exchange Server Administration 1
C Macro to add multiple recipients to message Outlook VBA and Custom Forms 3
A Add to Outlook Contacts from email - default view Outlook VBA and Custom Forms 1
P Add a contact to the New Task in Outlook 2016 Using Outlook 2
e_a_g_l_e_p_i Is there a way to add something that is in the "Format Text" tab to the "basic Text" on the message tab Using Outlook 1
M Macro to add date/time stamp to subject Outlook VBA and Custom Forms 4
O Outlook on Android - add BCC Using Outlook 2
J Execute Add-In Button from VBA Outlook 2016 Outlook VBA and Custom Forms 1
S Example VBA Macro - To Conditionally Change the From Account and Add a BCC Address on Emails Outlook VBA and Custom Forms 11
B When I add more search strings to RULES, it is not processing them Using Outlook 3
D Add Tetxbox at form open Outlook VBA and Custom Forms 1
Similar threads


















































Top