Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I'm using VB to copy the excel content and paste it in powerpoint. Due to some reason, i'm locking the clipboard to avoid user copy paste while doing this task I'm using the below steps to lock the clipboard and release. step 1 - Openclipboard step 2 - EmptyClipboard step 3 - use excel range.copy (or copypicture) to copy the content to clipboard step 4 - paste the content in the powerpoint step 5 - CloseClipboard Following are the issues im facing while doing this task: 1. I'm not able to use range.CopyPicture method after locking the clipboard (Error is "Cannot Empty the clipbard") (Please note that excel is present as the COM server (server object is created using the create object method)) Is there a alternate way to achieve the above Your suggestions are most welcome Thanks & Regards, Ahmed. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How many times can the user use the clipboard in the few billionths of a
second that your data is there? -- John johnf 202 at hotmail dot com "Ahmed Iftikhar" wrote in message om... | Hi, | | I'm using VB to copy the excel content and paste it in powerpoint. | Due to some reason, i'm locking the clipboard to avoid user copy paste | while doing this task | I'm using the below steps to lock the clipboard and release. | | step 1 - Openclipboard | step 2 - EmptyClipboard | step 3 - use excel range.copy (or copypicture) to copy the content to | clipboard | step 4 - paste the content in the powerpoint | step 5 - CloseClipboard | | | Following are the issues im facing while doing this task: | | 1. I'm not able to use range.CopyPicture method after locking the | clipboard (Error is "Cannot Empty the clipbard") | (Please note that excel is present as the COM server (server object is | created using the create object method)) | | | Is there a alternate way to achieve the above | | Your suggestions are most welcome | | Thanks & Regards, | Ahmed. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Range CopyPicture() | Charts and Charting in Excel | |||
Macro creating chart gallery giving problem | Charts and Charting in Excel | |||
Control size of chart - CopyPicture | Charts and Charting in Excel | |||
CopyPicture ????? | Charts and Charting in Excel | |||
CopyPicture | Excel Programming |