I was working on something a while back and am just now getting back to it. There is another thread that I got the code that has been modified slightly in the enclosed Excel file. I have some questions/issues.
1) For the ActiveWindow.Panes(x), how are the panes numbered. It appears that they are numbers 1,2,4,3 – if you are starting in the upper left and working your way clockwise? I did a bunch of searching and could not find anything on this. After working with my sheet, it looks like this is correct.
2) How do I execute my sub from the Workbook Open event? This is what I have:
Private Sub Workbook_Open()
DisplayLabel()
End Sub
3) The DisplayLabel function will work once, but when it gets called again, an error occurs that says “DisplayLabel” cannot be found.
4) The first Do While contains “Cells(IngRow, 7)”, is the 7 the highest row that it will allow IngRow to get to (i.e., so that it will not search up into the freeze pane)?
I have tried to dig into this routine and am afraid I am floundering at this point.
Thanks for any help,
Andy