-
VBA adding Pictures but can't display. Code
Hello
I have a problem and here it is...
I'm using VBA to create a powerpoint PPT in Win XP Pro SP2.
So far so good. The presentation ccreated successufully!
But when i transfer it to other pc's the pictures that are into the PPT doesn't show!! The problem located to pc's with Win XP Pro SP3.
The pictures that auto inserted with VBA are in *.jpg format.
I suspect but i'm not sure that the pc's can't display the inserted images because of VBA. I inserted the pictures with this code
pathFiles2 = "C:\METoffice\Data\viewmap\2.jpg"
With ActivePresentation.Slides(2).Shapes
If Dir(pathFiles2) <> "" Then
.AddPicture "C:\METoffice\Data\viewmap\2.jpg", msoTrue, msoFalse, 360, 100, 340, 360
End If
End With
When i inserted the pictures manually there is no problem!
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules