Results 1 to 2 of 2

Thread: Word + picture

  1. #1
    Join Date
    Aug 2010

    Unanswered: Word + picture

    is it possible to have a simple button in your form, then once you click it, it will open a new word file and will have a picture in it? i tried using the code below.. but the value that is showing to the word file is not a picture but a lot of characters.. any help?

    here's the code i used:

    Dim stAppName As String ' this is the path for the program
    Dim strFile As String 'this is the path for the file

    stAppName = "MSWordPath"
    strFile = Chr(34) & "PicturePath" & Chr(34)

    Call Shell(stAppName & " " & strFile, vbMaximizedFocus)
    Last edited by dada; 08-16-10 at 04:12.

  2. #2
    Join Date
    Nov 2004
    out on a limb
    Provided Answers: 59
    this souinds like a variation on you other question

    is it a new question or are you moving the goalposts

    incidentally, everyone 'knows' their question is vitally important and must be answered immediately, but I think you need to learn some patience. this forum doesn't have people sitting around waiting for your questions, people come and go, not everyone on the forum is an expert in every field (or even an expert in any field). y'need to give it at least 24 hours before stating to bump questions.
    I'd rather be riding on the Tiger 800 or the Norton

Posting Permissions

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