Max number of rows and columns

C

Corey Bennett

Hi,
Does anyone know how to set the maximum number of rows and columns on a
worksheet so that it will not scroll past say 20 rows and 10 columns?

thanks

Corey
 
L

L. Howard Kittle

Hi Corey,

Sub S_A()
ScrollArea = "a1:j20"
'ScrollArea = ""
End Sub

Second line frees up the entire sheet.

HTH
Regards,
Howard
 
D

Dave Peterson

And that's one of those properties that isn't remembered when you close the
workbook and reopen it.

You might want to put it in your auto_open or workbook_open code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top