User Profile
Collapse
Profile Sidebar
Collapse
Satsulima
Last Activity: Jan 22 '15, 03:13 PM
Joined: Nov 19 '14
Location: Portugal
-
Solved. No problems on global variables, other subs are calling one that puts iTable back on 1, hence the problem. -
-
How to use global variables in VBA?
Hello, trying to implement a global variable iTable that I can increment/decrement and use its value anytime needed.
1. globalvariables module:
2. One of my subs that change its value:Code:Global iTable As Integer
3. Sub where I call it with a Select CaseCode:Private Sub txtProduct1_Enter() iTable = 3 End Sub
...Code:Private Sub populateTxtOnEnter(ByVal copy As String, ByVal iTable As Integer)
No activity results to display
Show More
Leave a comment: