I have a struct in my class called RangeName and in one method I am setting up an array of this as follows:
RangeName[] myNames = new RangeName[currWkb.Names.Count];
and later on I want to pass myNames into another method. I have tried:
public void TestRoutine(RangeName[] myNames)
but my code will not build. I get
Inconsistent accessibility: parameter type 'MyTools.clsTest.RangeName[]' is less accessible than method 'MyTools.clsTest.TestRoutine(MyTools.clsTest.RangeName[])'
RangeName, please.