title: VBA: Running "Elevated" Command (Shell vs. ShellExecute)
body: <p>In my VBA procedure, I need to run the app "Skitch" and use it to open a JPEG file. This is the command I've been using:</p>
  
  <pre><code>ReturnValue = Shell("C:\Program Files (x86)\Evernote\Skitch\Skitch.exe " &amp; """" &amp; aPic &amp; """", 1)
  </code></pre>
  
  <p>...where "aPic" is the path and filename.  </p>
  
  <p>After some experimenting, I think I need to run the command as if it were in an Elevated Command window (in other words, run it "as Administrator").    Is it possible to run Shell elevated?</p>
  
  <p>If that's not possible: If I understand correctly, using ShellExecute instead of Shell will automatically elevate the command. But I'm much less familiar with it. Can someone show me how to run my command using ShellExecute? (BTW, I know that ShellExecute is good for running commands associated with the file type, but on this user's computer *.jpg will likely not be associated with Skitch.)</p>
  
  <p>Thanks.</p>