Xmarksthespot
New Member
- Joined
- Jan 21, 2017
- Messages
- 7
I have a sub whereI declare and set a collection (Cat_colw) which consists of a number of 3x3 arrays.<o></o>
I have a set ofvariables (gp1,gp2,gp3,…) that represent a 3x3 range of cells.<o></o>
I use thestatement: gp2.Value = Cat_colw(1) , to enterthe values of the array Cat_colw(1) intothe range gp2.<o></o>
This works fineif I do this in the same sub, but when I put this statement in a different suband make a call to it I get the error ------ <o></o>
<o> </o>
Compile Error<o></o>
Sub or Functionnot defined.<o></o>
<o> </o>
I’m a completebeginner so please excuse me if this is such a trivial task<o></o>
Thank you
I have a set ofvariables (gp1,gp2,gp3,…) that represent a 3x3 range of cells.<o></o>
I use thestatement: gp2.Value = Cat_colw(1) , to enterthe values of the array Cat_colw(1) intothe range gp2.<o></o>
This works fineif I do this in the same sub, but when I put this statement in a different suband make a call to it I get the error ------ <o></o>
<o> </o>
Compile Error<o></o>
Sub or Functionnot defined.<o></o>
<o> </o>
I’m a completebeginner so please excuse me if this is such a trivial task<o></o>
Thank you