Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Protection
I just built an applet and want others to be able to use it. Essentially,
when you press the RUN button, it automatically opens 3 files located on the users' desktop, based upon the answers he provides in two input boxes, reformats, manipulates the data, eliminates unwanted data and then presents the data to the user in a form he can use. I only want the user to be able to input the two data elements, and use the RUN button - nothing else. I don't even want the applet to be re-saved with the new data shown - although I'd like him to be able to copy the processed data into another file. Is this possible? How can I do this? Jim Berglund |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Protection
Not sure if i got your question right but how about
toolsprotectionprotect workbook? Doesn't it do what you want? On May 24, 5:03*pm, "Jim Berglund" wrote: I just built an applet and want others to be able to use it. Essentially, when you press the RUN button, *it automatically opens 3 files located on the users' desktop, based upon the answers he provides in two input boxes, reformats, *manipulates the data, eliminates unwanted data and then presents the data to the user in a form he can use. I only want the user to be able to input the two data elements, and use the RUN button - nothing else. I don't even want the applet to be re-saved with the new data shown - although I'd like him to be able to copy the processed data into another file. Is this possible? How can I do this? Jim Berglund |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Protection
I wish it was that easy... I tried that but get an error code when I press
the RUN button. Is there a way to allow the procedure to run (and change the contents of cells) without allowing the user to mess with the data - or anything else? Jim "AB" wrote in message ... Not sure if i got your question right but how about toolsprotectionprotect workbook? Doesn't it do what you want? On May 24, 5:03 pm, "Jim Berglund" wrote: I just built an applet and want others to be able to use it. Essentially, when you press the RUN button, it automatically opens 3 files located on the users' desktop, based upon the answers he provides in two input boxes, reformats, manipulates the data, eliminates unwanted data and then presents the data to the user in a form he can use. I only want the user to be able to input the two data elements, and use the RUN button - nothing else. I don't even want the applet to be re-saved with the new data shown - although I'd like him to be able to copy the processed data into another file. Is this possible? How can I do this? Jim Berglund |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Protection
Have you tried something like
Worksheets("Sheet1").Protect Password:="abc", UserInterfaceOnly:=True "Jim Berglund" wrote in message ... I wish it was that easy... I tried that but get an error code when I press the RUN button. Is there a way to allow the procedure to run (and change the contents of cells) without allowing the user to mess with the data - or anything else? Jim "AB" wrote in message ... Not sure if i got your question right but how about toolsprotectionprotect workbook? Doesn't it do what you want? On May 24, 5:03 pm, "Jim Berglund" wrote: I just built an applet and want others to be able to use it. Essentially, when you press the RUN button, it automatically opens 3 files located on the users' desktop, based upon the answers he provides in two input boxes, reformats, manipulates the data, eliminates unwanted data and then presents the data to the user in a form he can use. I only want the user to be able to input the two data elements, and use the RUN button - nothing else. I don't even want the applet to be re-saved with the new data shown - although I'd like him to be able to copy the processed data into another file. Is this possible? How can I do this? Jim Berglund |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Protection
You could:
1. protect (as per earlier post by Prject Mangler) your wb or ws (depending on what you want) 2. write your 'Run' code so that it: 2.1. unprotects the wb/ws 2.2. does the thing you want 2.3. re-protects teh wb/ws again. Additional (not fool-proof) feature you can implement is you can change your fileaccess to read-only on the fly, if you want to. This way your file would be 'open' for user to mess about only during the macro run time (during which they can't mess around with it) or when it's read-only (and then you almost don't care). |
#6
Posted to microsoft.public.excel.programming
|
|||
|
|||
Protection
Hi AB,
I've seen this before - people suggesting that the code needs to unprotect/write/re-protect. The userinterfaceonly parameter allows code to modify the sheet, but not the user. Am I missing something? "AB" wrote in message ... You could: 1. protect (as per earlier post by Prject Mangler) your wb or ws (depending on what you want) 2. write your 'Run' code so that it: 2.1. unprotects the wb/ws 2.2. does the thing you want 2.3. re-protects teh wb/ws again. Additional (not fool-proof) feature you can implement is you can change your fileaccess to read-only on the fly, if you want to. This way your file would be 'open' for user to mess about only during the macro run time (during which they can't mess around with it) or when it's read-only (and then you almost don't care). |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel Data Protection Best Practice: AKA: Real Sheet Protection | Excel Discussion (Misc queries) | |||
Excel Data Protection- AKA: Sheet/Macro Password Protection | Setting up and Configuration of Excel | |||
WS Protection: Different Levels of Protection on Different Ranges | Excel Discussion (Misc queries) | |||
Cell Protection vs. Worksheet Protection | Excel Discussion (Misc queries) | |||
Worksheet protection is gone and only wokbook protection can be se | Excel Discussion (Misc queries) |