Results 1 to 2 of 2
  1. #1
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    Illinois
    Posts
    552
    Thanks
    0
    Thanked 1 Time in 1 Post

    Code to add flag to master (Excel 2002 sp-3)

    I am trying to add a flag.wmf via vba but don't know how to access the master slide where i want to add the picture. The problem is that i am writing the code in Excel and need to open ppt and add the flag to the master. I can open excel but can't find the code to access the master slide. Thank you for the help.

  2. #2
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Code to add flag to master (Excel 2002 sp-3)

    The following line correctly inserts a pretty picture of a tractor at the top left of my slide master.

    ActivePresentation.SlideMaster.Shapes.AddPicture "C:Program FilesMicrosoft Officemediacagcat10j0149887.wmf", msoFalse, msoTrue, 0, 0

    StuartR

Posting Permissions

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