How to make write protect for Excel
Hi all
I need a clarification from you all
I am exporting my data's to Excel sheet and saving it in the hard disk.
I need to protect the sheet with password for opening the sheet
Kindly can anyone help me in this
Thanks
Regards
Bala
Have a look at the image below to password protect your workbook:
Make sure that you close all the references to Excel. Each refnum wire needs to end either in an indicator if it is going to be a sub VI, or an Automation close if the VI is not a subVI.
Message Edited by JoeLabView on 06-24-2008 12:33 PM
Similar Messages
-
Hi there,
i have Q i have excel file it need to be block with password. Could you please explain how i make password protect to Excel document
ThanksOn the File menu, click Save As.
On the Tools menu, click General Options.
Do either or both of the following:
If you want users to enter a password before they can view the workbook, type a password in the Password to open box, and then click OK.
If you want users to enter a password before they can save changes to the workbook, type a password in the Password to modify box.
NOTE Unlike passwords you specify in the Password to open box, passwords you specify in the Password to modify box are not encrypted. These passwords are only meant to give specific users permission to modify workbook data. For optimal password security, it's best to assign both passwords. An encrypted password to access the workbook, and one to provide specific users with permission to modify its content. IMPORTANT Use strong passwords that combine uppercase and lowercase letters, numbers, and symbols. Weak passwords don't mix these elements. Strong password: Y6dh!et5. Weak password: House27. Use a strong password that you can remember so that you don't have to write it down.
If you want to use a different encryption type, click Advanced, click the type you want in the Choose an encryption type list, and then click OK.
If needed, specify the number of characters you want in the Choose a key length box.
NOTE Document property encryption is enabled by default for most encryption types and providers. It prevents unauthorized users from viewing summary and custom file properties (such as the author or any custom file information) in theProperties dialog box. When users right-click the password-protected file, and then click Properties, information won't be available on the Summary tab and Customtab. Authorized users, however, can open the file and view all file properties (Filemenu, Properties command). To disable document property encryption, clear theEncrypt document properties check box.
Click OK.
When prompted, retype your passwords to confirm them.
Click Save.
If prompted, click Yes to replace the existing workbook.
NOTE You can also secure a workbook with a password on the Security tab of the Options dialog box (Tools menu, Options command). -
How to set Password protection in excel using java
Dear all,
I have no idea to write a java program that how to set password protection in excel. Please give me some solution using java tools. Thank a lot!
Regards,
kzyoDear Bamkin ,
I used your code and paste it in my program. The error is as the follow:
Code:
stmnt = c.createStatement();
String query = "select StudentNumber, Email, New_Email_Address from [Sheet1$] where Len(New_Email_Address) > 0";
System.out.println(query);
rs = stmnt.executeQuery(query);
stmnt.executeUpdate("SET PASSWORD=PASSWORD('Test')");
Error:
(Remark: Invalid SQL statement)
java.sql.SQLException: [Microsoft][ODBC Excel Driver] �����I SQL ���q���G�a����'DELETE'�A'INSERT'�A'PROCEDURE'�A'SELECT' �� 'UPDATE' �B
at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6958)
at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7115)
at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(JdbcOdbc.java:3111)
at sun.jdbc.odbc.JdbcOdbcStatement.execute(JdbcOdbcStatement.java:338)
at sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(JdbcOdbcStatement.java:288)
at hk.gov.edb.util.ExcelHandle.updateNewEmail(ExcelHandle.java:414)
at hk.gov.edb.core.AppMain.doUpdate(AppMain.java:369)
at hk.gov.edb.core.AppMain$7.construct(AppMain.java:584)
at hk.gov.edb.util.SwingWorker$2.run(SwingWorker.java:127)
at java.lang.Thread.run(Thread.java:595) -
How to remove write protection on an SD card
Hi I have just bought a fuji camera with a detachable lens has soon as I added the lens to the camera it said that I must update the firmware on my new lens no problem I thought the instructions said down load the appropriate firmware onto your desktop then format the sd card in your camera then put the card into a card reader then add the downloaded firmware to your sd card then put the card back into the camera the problem is ithe sd card will not let me add any files to my card it says write protection on an SD card please can somebody please tell me How to remove write protection on an SD card.
How is the card formatted?
You can check this in Disk Utility.
Macs can read and write Microsoft FAT format. Microsoft NTFS format is read only unless you get a copy of this: http://www.tuxera.com/products/tuxera-ntfs-for-mac/ -
How to make a form for input in web interface builder
Hi expert:
How to make a form for input in web interface builder?I have already used it to do PS planning, but I don't know how to draw lines and checkboxes . Thanks in advance.
AllenWAD:
Open the WAD and create a new template. On the left hand navigation you will have several Web Items available. Under 'Standard' you have 'Analysis' item. Pull that into your template to the right. Under the Properties tab you need to pick the query [form/layout] that you have built in Query Designer.
You will also find other items such as Button group, Checkbox, drop down, list box etc available. Pick and drag into the template whatever it is you require. Lets say you want a button. Under the Properties tab select the 'Command' that you require. You could use standard commands that are available there. You could also define functions and commands that you require.
Query Designer:
Open the QD and drag the characteristics and key figures that you require into the rows and columns of the QD. You would need to specify restrictions under the Filter tab of the QD based on the granularity of data that you require. You would need to remember that the key figures need to be made Input Ready [do this by clicking on KF and on the planning tab select "change by user and planning functions"].
This shouldgive you a start. After you've explored it yourself a bit we can discuss further and I can certainly provide you additional details/material on these areas.
Srikant -
How to make a group for selectd Object javascript
How to make a group for selectd Object javascript
There is currently no native way to email groups from iPad.
The only way to do this is if your recipients are already members a a distribution group controlled elsewhere such as a Google Group or an Exchange Organisation, then you can email the distribution group address which will then in turn forward to the individual email address of the members.
Does it have to be email as currently you would have to add each recipient to the email manually.
iOS to my knowledge doesn't support contact groups in context other than organisation. -
How to make S-Curve for Primavear P6 by using BI publisher?
Hi,
Anyone knows how to make S-Curve for Primavear P6 by using BI publisher? I can display colunm such as planned unit, but not cumulative value. So I can't plot S-curve.
Thanks
Wang Xin
Edited by: 957906 on 09-Sep-2012 03:26The problem with the datagridview is that it can only show one table.
For more tables 3th party datagrid's are better.
Although you can start with using the old datagrid. Despite what is written on MSDN is it a complete different control then the datagridview. You can add in to your toolbox by right clicking on it and then add it.
The datasource of a DataGrid can be a complete dataset which is showed with all its relations.
Success
Cor -
How do you write UNDO for a text item?? examples? or a REDO??
How do you write UNDO for a text item?? examples? or a REDO??
I created a pop-up menu with CUT, COPY, PASTE, UNDO, CLEAR for my text items.
Using MAGIC menu type works great but there is no MAGIC for UNDO or REDO.....
How do you write UNDO for a text item?? examples? or a REDO??
I have Oracle Forms 6i...
Lets say I highlight all the text in the text item, and start typing over it... then I realize OH NO it is the wrong text field...
Now I want to UNDO the typing and get back to the previous text.
I'd use the initial value that was populate right? How do I access that if that is correct?
Thanks, BillYou can use;
<ITEM> := Get_Item_Property(<ITEM>,DATABASE_VALUE);
Or you will have to write a pre-text-item trigger;
PRE-TEXT-ITEM:
:CTRL.CURRENT_VAL := :<BLOCK>.<ITEM>
MENU (PL/SQL):
:<BLOCK>.<ITEM> := :CTRL.CURRENT_VAL;
You may also want to set the item property back to ITEM_IS_VALID so that item validation does not fire again. -
How to make a CheckBox for a report parameter?
Hi,
How to make a CheckBox for a report parameter?
thanxdesign ur parameters forms using forms and call ur report form there
-
How to make a installer for iphone application
hi, dear all, I have made a iphone application by XCode , it can running perfect on emulator . I want it can be install on real device , how to do it ? how to make a installer for my iphone application ?
thanks to your response .If you go to the iPhone DEV area on Apple.com you can get a installer app once you are a developer. This installer will let you use apps for your own use. This installer app also supports up to X amount of phones you can install the application on. I thought it was set at 100 but could be now up to 500.
-
hello developers
I’m sharing a long time to find out how to make a wall for my game but now where is it.
Can someone help me?
its a wall for an iphone/ipod game.
It must be a wall that a sprite will stop walking it’s not a killer object but a stop object.
oh and are there differants in programing in ipad/iphone?
Thanks for help
Grtz JimmyI don't know what's you point on the wall and the player but you should do something as that:
-(IBAction)goLeft
if (player.x > wall.xo && player.x < wall.xI)
// you are in the wall go right
if(player.y > wall.yo && player.y < wall.yI)
// you are in the wall go right
player.x ++;
else ; // you are up or down of wall
-(IBAction)goRight
if (player.x > wall.xo && player.x < wall.xI)
if(player.y > wall.yo && player.y < wall.yI)
// you are in the wall go left
player.x --;
else ; // you are up or down of wall -
How to make a program for backgroung processing used servlet
how to make a program for backgroung processing used servlet
well i need the coding part written in servlet ,in which servlet is always ready for accepting a client request.
-
How to make exception rules for Stylish rules which change fonts?
How to make exception rules for Stylish rules which change fonts?
I use [https://addons.mozilla.org/en-US/firefox/addon/stylish/ Stylish add-on] to change specific fonts to other fonts of my choice, but I have a problem. I want to change the font Arial to Tahoma in almost all pages I visit, but with the exception of websites as wikipedia.org. Because of this, I find myself having a very long list of domains to change Arial to Tahoma, only because I don't want that rule to apply to wikipedia.org and additional one or two other websites.
The current rule I'm using is, (my actual list is a lot longer, but this is just an example):<br/>
'''''@-moz-document domain("mozilla.org"), domain("thefreelibrary.com"), domain("sil.org"), domain("ethnologue.com") {'''''<br/>
'''''@font-face { font-family: 'Arial'; src: local('Tahoma'); }'''''<br/>
I can't use the following rule because I don't want it to apply to wikipedia.org:<br/>
'''''@font-face { font-family: 'Arial'; src: local('Tahoma'); }'''''Try something like this:<br />
<br />
<pre><nowiki>@font-face { font-family: 'Arial'; src: local('Tahoma'); }
@-moz-document domain(wikipedia.org){
@font-face { font-family: 'Arial'; src: local('Arial'); }
</nowiki></pre> -
How to make itunes account for free
how to make itunes account for free?
Since you're posting here, you already have an Apple ID. Click here and follow the rest of the instructions.
(93518) -
How to make resizable false for JcomboBox
hi ,
I am using JCombobox , but it resizes when length of data inside it is
increses.I am in trouble because of that.
Would anybody how to make resizable false for Jcombobox
--HarishSet a preferred size on the combo box, e.g.
box.setPreferredSize(new Dimension(150,box.getPreferredSize().height));
Maybe you are looking for
-
Firefox version 5.0 has a separate Twitter tab built into this web browser. However, today I have been having problems with launching the Firefox browser. An error message appears, after attempting to launch the browser, which states that the Firefox
-
HI Guys, What is the main difference in modifying data in Bcc and Acc Will we loss date if modify in Acc after any deployment done in Bcc ?
-
IMP-000200: long column Too larege for column buffer size 22
IMP error: long column too large for column buffer size IMP-000200: long column Too larege for column buffer size <22> imp hr/hr file=/home/oracle/hr.dmp fromuser=hr touser=hr buffer=10000 and try also 100000000 and still the same error please any bo
-
Functional Module needed for banking details printing.
Hello Experts, Maybe you have already got in touch with a FM, which retrieves bank account details like bank account number, bank key, SWIFT code (table T012K). My problem is not only to retrieve all the data but also to print this data on an invoice
-
Can any one plz send me a screenshots of LDB
Can any one plz send me a screenshots of LDB