set global variable in vba. There are any references about set global variable in vba in here. you can look below.