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 » VBA
VBA
Resolved · Low Priority · Version 2003
Dan has attended:
Excel VBA Intro Intermediate course
VBA
Can public variables be used in other workbooks?
RE: VBA
Dan
When you declare a variable as Public in a module this variable can be seen and shared by any project(workbook) open at the time.
However you should limit the use of these global variables(Sharing variables with other worksheets).
Global variables are very hard to keep track of, and you never know when another routine is using that value without careful tracking, which could take time and effort especially if there is a bug.
Hope this helps
Carlos
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:Removing custom dictionary entriesIf you add something to the custom dictionary in Excel you cannot remove it. The way to get around this is to go into word and remove it there. |