Formerly Best Training
© 2024 STL. All Rights Reserved.
All prices offered for business users and exclude VAT. E&OE
2nd Floor, CA House, 1 Northey Street, Limehouse Basin, London, E14 8BT. United Kingdom
Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Excel VBA
Resolved · Low Priority · Version 2003
Anthony has attended:
PowerPoint Intermediate Advanced course
Excel VBA Intro Intermediate course
Project Intro Intermediate course
Upgrade to Office 2007 course
What's the difference between Private and Publically declared variables?
Hi Anthony,
Thank you for your question.
A declared Public proceudre can be called from within other modules but a Private procedure is only available to other procedures in the same module.
Public Variables can be declared at the top of any standard Public module. These are available to all procedures in all modules.
Dim and private are used in the Declarations section which is outside the procedure itself. This is done in the Option Explicit. These will be available to all procedures in the same module.
I hope this answers your question.
Regards
Simon
Thu 23 Apr 2009: Automatically marked as resolved.
|
Excel tip:Adding up rows or columns without seeing formulasHighlight a column or row and click the Autosum button. This gives you your answer without showing the formula. |
We'll call during UK business hours
Server loaded in 0.07 secs.