A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Powerpoint
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Pasting Visio Image Into Power Point Issue



 
 
Thread Tools Display Modes
  #1  
Old May 13th, 2010, 05:45 PM posted to microsoft.public.powerpoint
Gary
external usenet poster
 
Posts: 790
Default Pasting Visio Image Into Power Point Issue

I am using VBA (with MS Access) to copy a Visio file and paste it into power
point. When I do this using Access 2003, Power Point 2003, and Visio 2003
and power point slide has the ability to open the drawing as Visio by double
clicking the drawing. Everything is sharp looking too.

Now when I tried it using MS Access 2007, Power Point 2007, and Visio 2003,
the power point slide has only an image of the drawing and it looks likes its
out of focus too (not sharp looking).

Any suggestions ??? Below is my VBA Code

Thank You,

G

Set AppVisio = CreateObject("Visio.Application")
AppVisio.Application.Documents.Open (VisioFullPath)

AppVisio.Application.ActiveWindow.SelectAll
AppVisio.Application.ActiveWindow.Selection.Copy
AppVisio.Application.AlertResponse = 1

oPres.Slides.Add(oPres.Slides.Count , ppLayoutBlank).Shapes.Paste

AppVisio.Quit
Set AppVisio = Nothing

oPres.Slides(oPres.Slides.Count).Shapes(1).LockAsp ectRatio = msoTrue


  #2  
Old May 13th, 2010, 07:29 PM posted to microsoft.public.powerpoint
Matti Vuori
external usenet poster
 
Posts: 69
Default Pasting Visio Image Into Power Point Issue

=?Utf-8?B?R2FyeQ==?= wrote in
:
Now when I tried it using MS Access 2007, Power Point 2007, and Visio
2003, the power point slide has only an image of the drawing and it
looks likes its out of focus too (not sharp looking).

Any suggestions ??? Below is my VBA Code


Behavior of the Paste method must have changed. Use PasteAs and select the
Visio-related document object type, whatever that is (I don't have Visio).
  #3  
Old May 13th, 2010, 08:16 PM posted to microsoft.public.powerpoint
Gary
external usenet poster
 
Posts: 790
Default Pasting Visio Image Into Power Point Issue

Thank You for your suggestion !!!

I changed it to a PasteSpecial and it works now !!!


G




"Matti Vuori" wrote:

=?Utf-8?B?R2FyeQ==?= wrote in
:
Now when I tried it using MS Access 2007, Power Point 2007, and Visio
2003, the power point slide has only an image of the drawing and it
looks likes its out of focus too (not sharp looking).

Any suggestions ??? Below is my VBA Code


Behavior of the Paste method must have changed. Use PasteAs and select the
Visio-related document object type, whatever that is (I don't have Visio).
.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:58 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.