I have some code in which I need to pass the value of "j" from one module to another. "j" is declared in Sheet1 (Data) under the Microsoft Excel Objects.
I need to pass the value of j to a class module which is coded as follows:![]()
Please Login or Register to view this content.
.![]()
Please Login or Register to view this content.
I have tried a number of different options such declaring "j" has a Public Variable and trying pass "j" ByVal but can't get any of these options to work. Not sure what I am doing wrong. Thanks.
Bookmarks