title: How to use VBA in Word 2007 to update PictureStyles in one assignment?
body: <p>I am trying to help a co-worker with some Word 2007 picture formatting.  I would like to be able to update the Border style, drop-shadow, etc. by assigning the pictures one of the named styles that you can select from the Picture Formatting tab in the ribbon.  The style I am trying to use is called 'Simple Frame, Black'.  Unfortunately, I haven't found any documentation in the Object Model Reference about using these styles for InlineShapes.</p>
  
  <p>I tried recording a macro, both by using the mouse to go through the steps, and only using the keyboard to do what I want, but none of the picture style assignment steps show up in the resulting vba module.</p>
  
  <p>I found a question that is similar on egghead <a href="http://www.eggheadcafe.com/software/aspnet/33114594/how-to-set-named-picture-style-for-an-inlineshape.aspx" rel="nofollow">here</a></p>
  
  <p>From this, it sounds as though maybe this functionality isn't exposed in the Object model.  I'm wondering if anyone has found a way to do this, and if not, what the best way to get around it would be.</p>
  
  <p>Thanks,
  Spencer</p>