Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.office.developer.vba
external usenet poster
 
Posts: 8
Default Deploy Excel Macros

Hi!

I developped some Excel XP macros in vbscript. Now it's time to deploy them
to a unique client (only one computer). Those macros are made to be executed
in many excel files, then for maintenance purpose it would be nice not to
repeat those macros in each file. What are the possibilities to deploy my
macros (compilation, template,...)?

Also, i would like to protect my code. Depend on the deployment scenario,
what are the possibilities?

Thanks,

Thierry Paradis.



  #2   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.office.developer.vba
external usenet poster
 
Posts: 1
Default Deploy Excel Macros

1.st, you can compilate all your macros in a single Excel file and than
save the file as *.xla, than in the new PC you jast have to run the XLA
file.

2.nd, to protect your code, you have to go to the VBA window (Alt +
F11) and in the menu go to - Tools - VBAProject Properties... -
Protection - here you can look the project for viewing and put a
password.

  #3   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.office.developer.vba
external usenet poster
 
Posts: 13
Default Deploy Excel Macros


"Antunes" wrote in message
ups.com...
1.st, you can compilate all your macros in a single Excel file and than
save the file as *.xla, than in the new PC you jast have to run the XLA
file.

2.nd, to protect your code, you have to go to the VBA window (Alt +
F11) and in the menu go to - Tools - VBAProject Properties... -
Protection - here you can look the project for viewing and put a
password.


Regarding that 2nd item, be aware that there are VBA password crackers that
will break the code protection on an XLA in no time. Don't use this method
if you want to ensure that your source code is protected against anything
more than casual snooping. The only way to thoroughly protect the code is to
move it out of VBA and into a language where the code can be compiled
directly. A VB6 ActiveX DLL whose functions are called from a bit of stub
code remaining in the XLA file would do nicely.

--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org

  #4   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.office.developer.vba
external usenet poster
 
Posts: 1
Default Deploy Excel Macros

Instead of compiling the code, consider using Invisible Basic, a source
code obfuscation utility for Excel/VBA which can be freely downloaded
at http://invisiblebasic.sourceforge.net

Although they can still crack your password, after saving your workbook
via Invisible Basic's "Save Invisibly As" command, the VBA code anyone
will see upon cracking your password will be quite unreadable with
comments removed, names scrambled, etc (though it will be functionally
equivalant).

John

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to deploy an Excel workbook office 2007 project? Raj Excel Discussion (Misc queries) 0 October 31st 08 05:05 PM
How to deploy an Excel 2003 solution Mike Gartner Excel Discussion (Misc queries) 2 March 10th 05 01:29 AM
Deploy Excel similar to Access Runtime Terry Higgins Excel Programming 4 March 3rd 04 07:42 PM
What's the best way to deploy a VB business logic with Excel? Mauricio Villada Excel Programming 0 September 22nd 03 10:16 PM
Deploy Excel 2002 add-in S. Daum Excel Programming 4 July 30th 03 05:43 PM


All times are GMT +1. The time now is 02:53 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"