Static variable « Language Basics « VBA / Excel / Access / Word






1.If you need a procedural level variable to retain its value between calls to the procedure, declare the variable using the Static keyword
2.Static variable lifetime
3.Static Variables: A Special Type of Local Variable
4.Redefine static variable