Floating rows / freezing panes

joshhargs

New Member
Joined
Oct 9, 2017
Messages
3
Hello there everyone,

I have a sheet that is going to be an order form, it contains product codes, barcodes, product descriptions, prices, RRPs etc, with a lot of different products with a lot of different headings for each category etc. I would like the headers of each category to float on the row just below the frozen panes i already have at the top containing the info headings when scrolling down, until the next header is reached, at which point the header for the new section you're just about to scroll through will replace the one from the previous section. (Is everyone still with me here?)

I've tried selecting multiple rows and freezing the panes but that seems to select the highest up header and freeze that one only. Please note i do know what the freeze panes functionality is, i already have a couple frozen and that's not exactly what i'm after, essentially i want certain rows to be frozen at the top depending on which rows are visible to the user.

Could something like a looping macro be used to continuously unfreeze and freeze panes depending on which row is at the top of the page?
 

Some videos you may like

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Watch MrExcel Video

Forum statistics

Threads
1,095,221
Messages
5,443,169
Members
405,219
Latest member
CraneS

This Week's Hot Topics

  • Copy entire row if CountA <>0 to another sheet
    [B]I want to copy entire row if CountA <>0 for column J7:AM7 (headers on J6:AM6) and so on till the last used cell is column D and paste the...
  • Select last used Row in Table
    I have created a Table in a Worksheet which is locked to prevent user errors and protect formula. Some of the cells require freetext entries which...
  • excel workbook: do not allow certain file name
    Hello all, Don't think this has ever been asked before, but how do I restrict file save [Before_Save Event] if the name of the file being saved...
  • fixing problem autofilter
    hello i need help about my code when i search by code in textbox it doesn't show anything this is my data [ATTACH type="full"...
  • “Weight”
    Hi, i’ve got a long sheet filled with weights such as kg,g,L & ml. i can build a formula to convert kg into g and liter into ml. How ever, my...
  • How to capitalize everything before a certain character?
    In column A, I have some text: Hello good day.mp3 Hello good day.flac etc. I'd like to capitalize everything before the period. I don't need the...
Top