By using booksticle.com you agree to our cookie policy, We and our partners operate globally and use cookies, for multiple purposes

 


Public

VBA statement to tell VBA that the variable, sub or function to follow is a global variable.

That means it can be used or changed anywhere in the program.

Using this can make it harder to find bugs, but easier to code.

A common agreed to naming convention is to start all public variables with a "g" for global.

Explain VBA Global Variables
VBA Global Variables Video

   
Home | About | Videos | Websites | Jobs | FAQ | Privacy | Terms of Service | Edit | Feedback | Copyright © 2024 All Rights Reserved