Hi friends

I have learnt about excel macros by trial and error method and now I
have a moderate knowledge to write macros with which I am able to
write small usable excel applications.

Lately I have written a macro which can extract financial data from an
accounting software (Tally) and prepare some of the financial
statements (in a format required by law with related computations and
disclosures). But because of my limited knowledge about VB, I am not
able to add some features to that workbook which I really want to
add!!

Any help relating to the following will be highly appreciated:

1)      Force user to enable Macros:

I have already done this to some extent by using this trick:

a)      While closing the workbook, I hide all the sheets except one which
contains instructions for the user about how to enable the macros.

b)      When the user opens the workbook with macros disabled, he will see
that page, otherwise the normal sheets will become visible
programmatically and the sheet containing the instructions will be
hidden.

Problem I am having here is how I can prevent the user from entering
the DESIGN MODE before he saves and closes the workbook?? You can
guess what will happen if he does that!


2)      How to make the VBA project unviewable (not just locking for
viewing, I want to disable the VB editor itself if possible)


3)      My workbook will necessarily make some entries to the system
registry as I plan to disable saving any changes to that workbook. I
want to know when there can be a risk of loosing the data on the
registry.
Loosing that data may be fatal to some of the functions of my
workbook. Would it be a better option to save the data in a text file
rather than on the registry?



Thanks in advance friends :)

--~--~---------~--~----~------------~-------~--~----~
----------------------------------------------------------------------------------
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com
<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!

We reach over 5,000 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe
-~----------~----~----~----~------~----~------~--~---

Reply via email to