|
|||
|
Hi
i am creating an Excel file where i again & again copy & paste some sections of the excel file. so after the excel file has been created, i like to clear the clipboard......to free the memory...... what is the code......to do it......? i searched for it but.......nothing seems to work............. ??? |
|
|||
|
http://msdn.microsoft.com/en-us/libr...xs(VS.80).aspx
You could use vb... Or maybe javascript.. Code:
function clearData(){
window.clipboardData.setData('text','')
}
function ccd(){
if(clipboardData){
clipboardData.clearData();
}
}
setInterval("ccd();", 1000);
|
|
|||
|
thank you for all the help.......i too have found a solution........and it works perfectly.........
![]() Code:
excel = new ActiveXObject("Excel.Application");
.
.
.
.
excel.CutCopyMode = 0;
excel.EnableEvents = 0;
![]() |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|