+ Reply to Thread
Results 1 to 4 of 4

Macro to insert Image into Word document

  1. #1
    Forum Contributor
    Join Date
    04-27-2006
    Location
    Cayman Islands
    Posts
    379

    Macro to insert Image into Word document

    Hey guys, I have an excel spreadsheet that populates a word document using bookmarks. I now have a requirement to use a different logo at the top for different letters. Rather than having a number of separate templates, would it be possible to load a logo into the bookmark?

    I have put together a test macro but it comes up with a runtime error (438) Object doesn't support this property or method...
    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    04-27-2006
    Location
    Cayman Islands
    Posts
    379
    FIXED IT MYSELF!!!! Solution shown.... stupid me.
    Please Login or Register  to view this content.
    [/QUOTE]

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Chris,

    When using the With statement, you don't need to use the prefix appWD with each property or method line. You only need to state it once using With. Just for future reference, you could have extended your With statement like this...
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

  4. #4
    Forum Contributor
    Join Date
    04-27-2006
    Location
    Cayman Islands
    Posts
    379
    Thanks for the advice Leith, appreciated, as you can tell I am a little amateur!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1