468,308 Members | 1,228 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,308 developers. It's quick & easy.

can we disable copy and paste functionality for excel sheet using javascript?

can we disable copy and paste functionality for excel sheet using javascript?

if we do it, can you send me the code
Nov 28 '07 #1
3 2363
gits
5,390 Expert Mod 4TB
hi ...

welcome to TSDN ...

as far as i know you cannot use JavaScript for scripting something in an excel-application ... you only may use it with a browser. could you please describe the use-case that you have?

kind regards
Nov 28 '07 #2
hi ...

welcome to TSDN ...

as far as i know you cannot use JavaScript for scripting something in an excel-application ... you only may use it with a browser. could you please describe the use-case that you have?

kind regards

in our task we are downloading data to excel sheet with all cells as protective except 5 cells which are editable, users are copying some data and paste it in the new sheet but we dont require this environment. so we want to restrict the code to disable copy functionality
Nov 28 '07 #3
gits
5,390 Expert Mod 4TB
hmmm ... i guess the download uses a serverside script that writes the excel-file for the download ... may be you should investigate further at this point so the excel-writer could add some magic to disable copy&paste during the file-creation process ... as i said: you cannot do that with javascript

kind regards
Nov 28 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Stilgar[bbs.isca.uiowa.edu] | last post: by
7 posts views Thread by lgbjr | last post: by
1 post views Thread by dom_perron | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by Teichintx | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.