Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks for responding, but I tried that. It always returns "1" since
SplitRow appears to be dependent on window visibility i.e. I do <Window/Freeze Panes at row 75 with row 63 as the first visible row at the top. ActiveWindow.SplitRow returns 12. Currently I'm ensuring that only the last row of the frozen pane is visible and then doing: beginRow = ActiveWindow.Panes(1).ScrollRow + 1 Provided the template dosen't get changed this works, but I was hoping for a more robust solution that didn't depend on visibility. Thanks again. "JLGWhiz" wrote: Should have noted that the first unfrozen row will be the next one down. Sub di() MsgBox ActiveWindow.SplitRow firstUnfrozenRow = ActiveWindow.SplitRow + 1 End Sub "SteveC" wrote: This is probably so easy but I'm more experianced in VBA for Word. I have a large workbook (33 sheets) that is used as a template. Each sheet is frozen at a different line, due to informaton above the freeze point that is different for each sheet. I need to determine what the first unfrozen row is for formatting purposes, but for the life of me can't figure it out. Is there an equivilent to "SplitRow" like "FreezeRow" or do I have to try and do something wierd like "SendKeys(^{HOME})"? Thanks, |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can't find the FIND in Excel | Excel Discussion (Misc queries) | |||
Find formatting doesn't work: "Excel cannot find data" | Excel Discussion (Misc queries) | |||
Despite data existing in Excel 2002 spreadsheet Find doesn't find | Excel Discussion (Misc queries) | |||
How do I freeze a pane on Excel but leave one line unfrozen? | Excel Discussion (Misc queries) | |||
How do I find a file/spreadsheet that Excel says is Already open but I can't find it? | Excel Discussion (Misc queries) |