Microsoft Office TrainingThe UK's Number 1 for Microsoft Office Training Sitemap add this page to your favourites/bookmarksBookmark page
 
view a printable version of this pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

articleHow Passwords Can Preserve Your VBA Macros

Visual Basic for Applications (VBA) is an excellent tool for writing and protecting computer programmes that you have written and wish to safely store.

People who regularly spend time creating documents via Microsoft (MS) products may at some point wish there was a new icon that would help them complete tasks even more quickly. For instance, if you have been tasked with entering data into an MS Excel worksheet in order to perform the same calculations it could help you to cut the time spent doing this by creating a new button that fulfils the desired function. In order to do this you would write a straightforward computer programme via VBA that can be integrated into your worksheet. The macros can be as detailed or straightforward as you like depending on the number of functions you wish the programme to perform.

VBA is easily-accessible in several MS products, including Excel, Word and Access, which means that in any of these applications you can write mini programmes to add more functions that suit the nature of your work. The idea of computer programming instils fear in some PC users but VBA strives to remove any doubts you may have about writing your own macros, if you prefer you can attend training courses that can help expand your knowledge on the subject. Macros are a great way to personalise your MS products, you can create shortcut calculations in MS Excel and change task bars in MS Word to suit you.

If you find you regularly need to apply a certain kind of formatting to documents for example, like indenting, you can write the programme then link it to a new icon - you simply have to press this each time you would like to activate the macro. Once you have spent some time developing your own programmes, it is likely that you will want to protect them from being changed. You may work in a busy office environment where constant use of a workbook may unintentionally lead to your macro being disabled or destroyed.

In order to prevent this happening you can add a password to your macro, so you can be sure that it will not be changed or damaged. Some computer users find that their macro can be applied throughout their company and may assist teams in their daily tasks. VBA allows you to share your macros with others by sending them to those who require the additional functions.

So if your department was regularly performing the same calculations on similar kinds of data then you could send your colleagues your macro that could quicken this process. Fellow workers could download the programme and either store it so it is used on just one worksheet or they could save it where it can be accessed by all worksheets saved in MS Excel. With any kind of file sharing there is the possibility that some sent data may contain viruses.

In fact the security measures on MS applications are likely to block your own macros from opening in order to rule out the possibility of damaging files being installed in your hardware. However it is possible to self-sign the security certificates created when you write your macro so that they can automatically open each time you need them. If you receive macros from others that are designed to help you with your daily digital tasks you can be sure that the chances of viruses affecting your computer are kept to a minimum by installing anti-virus software.

Author is a freelance copywriter. For more information on ms access vba, please visit http://www.microsofttraining.net


Original article appears here:
http://www.microsofttraining.net/article-566-how-passwords-can-preserve-your-vba-macros.html


Back to article list

Distribution notes

PUBLICATION GUIDELINES

  • You have permission to publish this article for free providing the "About the Author" box is included in its entirety.
  • Do not post/reprint this article in any site or publication that contains hate, violence, porn, warez, or supports illegal activity.
  • Do not use this article in violation of the US CAN-SPAM Act. If sent by email, this article must be delivered to opt-in subscribers only.
  • If you publish this article in a format that supports linking, please ensure that all URLs and email addresses are active links, without the rel='nofollow' tag.
  • Software Training London Ltd. owns this article. Please respect the author's copyright and above publication guidelines.
  • If you do not agree to these terms, please do not use this article.

Rate this page:
2.8/5 (129 votes cast)
Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses
Microsoft Certified Partner
Security Seal verified by visa, mastercard securecard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Management training

Professional Skills courses
Project Management Course London
Project Management Courses London
Project Management Training London
Project Management Training
Project Seminar
Project Seminars
Time Management Course London
Time Management London
Time Management Courses London
Time Management Training London
Introduction to Finance course
Assertiveness Skills course
Effective Communications Skills training
Presentation Skills London

Training Formats

Public scheduled courses
On-site training
Closed company courses

Consultancy
Application Development

Blogs

Excel Training
MS Project Training
Microsoft Training Blog

Version differences

Office 2010 vs 2007
MS Project version differences

Training Information

London Computer Training
Computer Training London
Docklands Training Courses
Docklands Training London

Training venues London
Client list
FAQ
Pricing and availability
Course details / Syllabus

Training Articles
Training Information

Microsoft training

Microsoft Office training
& IT Applications

Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training
MS Project courses
MS Project training
Outlook courses
PowerPoint courses
PowerPoint training
VBA courses
Word courses
Microsoft.training
(more...)

Excel Training

Excel courses
Excel Training Courses Medway
Autonumber in Excel
Microsoft Excel training
Basic Excel Courses
Basic Excel Course
Basic Excel Training

Interested in MS Access training?

Access courses
Microsoft Access training
Microsoft access courses
Microsoft training access course
Microsoft+access+training
Access courses in london

Training provider

Training providers
IT training companies
IT training providers
Management Training providers
Management Training provider

Event history, feedback results
Events in 2012 · 2011 · 2010 · More

See also

Crystal Reports training