Reduce font size in last row of rolling data

Radoman

Board Regular
Joined
Jan 31, 2009
Messages
75
Hi

I wonder if this is possible please as it's beyond my capabilities!

I have 32 rows of data in text format which 'revolve' on open i.e.

the row previously shown in row 1 will appear in row 32
the row previously shown in row 2 will appear in row 1
the row previously shown in row 3 will appear in row 2
and so on, with all data moving up a row

What I am trying to do is automatically reduce the font size of data shown in row 32 to size 7 on open. Data shown in all other rows must be unaffected.

Hope you can help.

Thank you!
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Copy and paste the code below into a Thisworkbook module. then save the workbook.:
Code:
Private Sub Workbook_Open()
With Rows(32)
    .Font.Size = 7
End With
End Sub
 
Upvote 0
Hi Jo - my apologies, I forgot a small bit of info.

There are 2 worksheets in the workbook - it's row 32 of the worksheet named 'Jones' that this needs to apply to.

Thanks again.
 
Upvote 0
Hi Jo - my apologies, I forgot a small bit of info.

There are 2 worksheets in the workbook - it's row 32 of the worksheet named 'Jones' that this needs to apply to.

Thanks again.
OK, so go with this instead,
Code:
Private Sub Workbook_Open()
With Sheets("Jones").Rows(32)
    .Font.Size = 7
End With
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

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