Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.
You'll need something like the code below. GetObject attempts to attach to an open Outlook session. If there is one, then Err.Number will return 0. If there isn't one, then Err.Number will return the error number which will be greater than 0.
Open in new window