OberonPlace.com Forums

OberonPlace.com Forums (http://forum.oberonplace.com/index.php)
-   Corel Photo-Paint VBA (http://forum.oberonplace.com/forumdisplay.php?f=17)
-   -   Copy and paste as new document (http://forum.oberonplace.com/showthread.php?t=8033)

hvw 30-01-2012 08:02

Copy and paste as new document
 
Hello,

I'm just new registered.
Perhaps someone know the solution:
I just opened a new document in Photopaint
Now I would like to Select the complete photo and paste it as a new document

Thanks

shelbym 30-01-2012 08:35

Paste as new Document
 
You could do something like this:
Code:

Sub PasteAsDocument()
    With Application.CorelScript
        .EditCopy
        .EditPasteDocument
    End With
End Sub

-Shelby

hvw 01-02-2012 05:42

Shelby,
thanks for the quick reply
Eddy:)


All times are GMT -5. The time now is 23:01.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com