Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Christchurch, New Zealand
    Posts
    250
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I have macro code that calls the InsertPicture dialog for the user to select which logo he/she wants in a document. The pictures all reside in client folders which I can identify using VBA. I want to be able to have the InsertPicture dialog default to the appropriate client folder, not the Pictures folder.

    In the past I have used Selection.InlineShapes.AddPicture FileName:= because I have already known the name of the file. However, in this instance I will not know the name of the file, which is why I want to use InsertPicture.

    Any ideas?

    Thanks.

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts
    Quote Originally Posted by KarenWright View Post
    I want to be able to have the InsertPicture dialog default to the appropriate client folder, not the Pictures folder.
    These two threads look promising -- and they use completely different techniques. They are for older versions of Word, but hopefully will work with little or no tweaking in Word 2007.

    [topic=446425]Display Insert Picture dialog (Word 2000) (in the Visual Basic for Apps forum)[/topic]
    [topic=760019]Inserting Pictures - unable to change folder (Word2003) (in the Word Processing forum)[/topic]

    Any luck?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •