title: Toggle Windows Explorer "Work Online" mode via Excel VBA
body: <p>I have written several VBA macros that access intranet network locations. They work well when users are located on-site. However, when they are off-site and accessing the network via VPN, these network locations are not available unless they manually navigate to them via Windows Explorer and select the "work online" option at the top of the explorer window. </p>
  
  <p>I can already verify whether they are connected via VPN programmatically. </p>
  
  <p>What I need is to be able to perform the equivalent of activating "work online" mode via Excel VBA. </p>
  
  <p>Any suggestions from the hive mind?</p>
  
  <p>Didn't have any success via Google or existing SO posts.</p>