98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Variables
Variables
Resolved · Low Priority · Version 2003
Azmina has attended:
Excel VBA Intro Intermediate course
Variables
when do you declare a variable privately?
RE: variables
Hi Azmina
Declaring a variable Private is used to emphasize that only the area in which it was declared can see it
So at the Modular level (In the Declarations area) both of the following variables can be seen by all the Procedures in the module.
Dim sUserName as String
Private iCounter as Integer
Hope this helps
Carlos
Mon 15 Dec 2008: Automatically marked as resolved.
Training information:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Hiding a worksheet in ExcelWant to circulate an Excel workbook file but keep certain worksheets hidden from your colleagues' view? |