Hi,
this is my first post. It's been many years since I wrote an extensive vb program in excel and it's all gone I'm afraid. I stil remember more than the basics of programming but I need help with this one I'm afraid...
I've got a workbook of some 26 sheets, the first is where I want the collected data to come to, the next 25 contain information that looks like a mountain range when plotted as a surface map.
What I want a macro to do is to find all the local maximums on the 25 sheets (i.e. the peaks of the mountains), copy the value and the location to each peak to the first page where I can see is the 'mountains' are growing or reducing per sheet.
I have tried a nested for next loop with the first loop being counted 0 to 24, as I've named the 'mountain' sheets 0 to 24, the next loops were row and column counters. To find a local maximum I was checking the cell to the immediate right and immediate down from the active cell (providing it was +ve) to see if it was higher than both, expecting that if I looped accross then down I would find a maximum. My code is rubbish so I wont post it here but can if you want to see my start.
Cheers
Chris