tlc53
Active Member
- Joined
- Jul 26, 2018
- Messages
- 399
Hi,
I have certain formatting (hiding of rows or resizing of a row) that needs to occur if new accounts are added/removed.
I will have a macro button which can be run if they make any changes to the accounts.
Cell K36 has a count formula and tells you how many accounts there are. Depending on this number, the below action of Row 46 Height and Hide Rows, needs to take place. The default size of Row 46 is 20.
If someone could just get me started and in the right direction, that would be great. Thank you!
[TABLE="width: 500"]
<tbody>[TR]
[TD]No. of Accounts[/TD]
[TD]Row 46 Height[/TD]
[TD]Hide Rows[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]140[/TD]
[TD]22-35[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]120[/TD]
[TD]23-35[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]100[/TD]
[TD]24-35[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]80[/TD]
[TD]25-36[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]60[/TD]
[TD]26-35[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]40[/TD]
[TD]27-35[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD]28-35[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD]29-35, 39[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD][/TD]
[TD]30-35, 39-40[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD][/TD]
[TD]31-35, 39-41[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD][/TD]
[TD]32-35, 39-42[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD][/TD]
[TD]33-35, 39-43[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD][/TD]
[TD]34-35, 39-44[/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD][/TD]
[TD]35, 39-45[/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD][/TD]
[TD]39-46[/TD]
[/TR]
</tbody>[/TABLE]
I have certain formatting (hiding of rows or resizing of a row) that needs to occur if new accounts are added/removed.
I will have a macro button which can be run if they make any changes to the accounts.
Cell K36 has a count formula and tells you how many accounts there are. Depending on this number, the below action of Row 46 Height and Hide Rows, needs to take place. The default size of Row 46 is 20.
If someone could just get me started and in the right direction, that would be great. Thank you!
[TABLE="width: 500"]
<tbody>[TR]
[TD]No. of Accounts[/TD]
[TD]Row 46 Height[/TD]
[TD]Hide Rows[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]140[/TD]
[TD]22-35[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]120[/TD]
[TD]23-35[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]100[/TD]
[TD]24-35[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]80[/TD]
[TD]25-36[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]60[/TD]
[TD]26-35[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]40[/TD]
[TD]27-35[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD]28-35[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD]29-35, 39[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD][/TD]
[TD]30-35, 39-40[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD][/TD]
[TD]31-35, 39-41[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD][/TD]
[TD]32-35, 39-42[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD][/TD]
[TD]33-35, 39-43[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD][/TD]
[TD]34-35, 39-44[/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD][/TD]
[TD]35, 39-45[/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD][/TD]
[TD]39-46[/TD]
[/TR]
</tbody>[/TABLE]