How Do i freeze cells?!

KristyP

New Member
Joined
Dec 13, 2018
Messages
6
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Numbers
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD][/TD]
[TD]Merged
[/TD]
[TD]merged
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD][/TD]
[TD]merged
[/TD]
[TD]merged
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD][/TD]
[TD]merged
[/TD]
[TD]merged
[/TD]
[/TR]
</tbody>[/TABLE]
PROBLEM: I have a drop down menu in my data set i.e (numbers) and when I filter for 1 & 3 it hides my merged data in that row. I'd like to be able to filter without collapsing my merged cells.

Let me know if you need further clarification. THANK YOU!
 
Indeed Gerald.
The whole idea of that snippet is to change the merged cells to center across the same cells.
In other words, eliminate the ranges that possibly will give you grief.
 
Upvote 0

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Why would you still want this ??


How would I go about using your code so Ranges (e1:v24) & (e24:v29) stay merged even if I filter?
See my previous post regarding merged cells and filtering / sorting.

If you MUST filter /sort, you may need to reconsider you use of Merged cells in your layout or reconsider the layout itself !....:diablo:
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top