Re: Add-in with excel

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks Brian. I will try that. I thought that the only way of securing
excel is by password, but I wanted to make sure.

Bob

<bmurphy@xxxxxxxxxxx> wrote in message
news:d7d3e300-214b-4914-9c3b-da2a66bd478d@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
From the excel user interface go File/Save As and in the dialog
select "add-in" as the file type. This will save the file with an XLA
extension.

Then go to VBA and in the Project tree right click on the file and
select Properties. In here set "Lock for viewing" and give it a
password.

This is as secure as you can make it in Excel. But readily available
Office password crackers can defeat this. The casual user, however,
won't be able to see your code.

To make it really secure, I believe you have to port the code to VB6,
and compile it into what I think is called a COM file. I've never
done this myself, but it might actually be pretty easy. Use Google to
find an example VB6 project that shows how it's done.

Good luck,

Brian Murphy
Austin, Texas


.



Relevant Pages

  • Re: Crystal Reports Cascading parameters dont get preserved between postbacks
    ... Brian, Wow!!! ... > even able to get the Excel export to open in Excel with a full toolbar. ... Select File Types tab. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Crystal Reports Cascading parameters dont get preserved between postbacks
    ... Brian, Wow!!! ... > even able to get the Excel export to open in Excel with a full toolbar. ... Select File Types tab. ...
    (microsoft.public.vb.crystal)
  • RE: saving a file using file dialog in Access 2007
    ... You start with the Application, a workbook, then a worksheet within the ... Excel object model in Access, it is very important to be sure all your ... "Brian" wrote: ... Set xlBook = xlApp.Workbooks.Add ...
    (microsoft.public.access.modulesdaovba)
  • Re: why>?
    ... Excel formulas are a nearly pure ... That's been the domain of macros since Lotus Development Corp came out ... We can prevent changes to tables; we can secure tables-- and you can't ... content protection isn't the same as vulnerable to infection. ...
    (microsoft.public.excel)
  • Re: Countif funtion
    ... Try replacing the commas with * and see how it goes. ... as written in Excel 2007, but I didn't go back and try in any earlier version ... closed and Brian was the closer. ... "Don Guillett" wrote: ...
    (microsoft.public.excel.worksheet.functions)