Avatar of Flora Edwards
Flora EdwardsFlag for Sweden

asked on 

VBA to msgbox if opened from outlook

I need help with VBA that If someone opens my workbook from Outlook then it should state that "workbook opened from outlook"
OutlookVBAMicrosoft ExcelMicrosoft Office

Avatar of undefined
Last Comment
Flora Edwards
Avatar of Rob Henson
Rob Henson
Flag of United Kingdom of Great Britain and Northern Ireland image

Depending on your Trust Centre settings, files opened from an email will be opened in Protected Mode and Read Only, It may be possible to check that status and report when Read Only.
ASKER CERTIFIED SOLUTION
Avatar of Kenneth Hobson
Kenneth Hobson
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Flora Edwards
Flora Edwards
Flag of Sweden image

ASKER

Kenneth Hobson

You are genius!

Thanks very much.  It worked perfectly.
Microsoft Excel
Microsoft Excel

Microsoft Excel topics include formulas, formatting, VBA macros and user-defined functions, and everything else related to the spreadsheet user interface, including error messages.

144K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo