LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

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
0 Kudos
Message 1 of 3
(2,931 Views)
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
Message 2 of 3
(2,918 Views)
Here is the example if you want to protect individual sheets:
 
I didn't do these examples..  So ignore the string of question marks, it should have been a boolean indicator..
 
Saving will be similar.  Just look for the SAVE property within the property node selection.
 
RayR
0 Kudos
Message 3 of 3
(2,915 Views)