Below is the section of code that I am having problems with. I've got a table of data which i am trying to manipulate onto another sheet in a presentable form to customers. Depending on the header of the column I would like the corresponding value to go in one of two columns. If the header contains 'freq' in the title, (not all are just freq, there are other headers containing that string as well) then I want it to go one side, if it does not then it needs to go on the other.
I have an array with the data, am able to get the function to look at the headers, but the .find function does not seem to return 'True' when the string is present, it just returns all searches as false.
I hope that makes sense, if anyone has any ideas it would be hugely appreciated.
Apologies for confusing use of variables for colNumber and colLetter, there is a seperate function to take the 'aloop' number and return the corresponding column letter, confusingly I decided to call this final variable colNumber - it is in fact just the letter of the column that I want.
Bookmarks