limit number of rows 7 colloms in a worksheet

  • Thread starter Thread starter davidbrowne17
  • Start date Start date
D

davidbrowne17

is there a way to limit or set the number of rows & collums in a
worksheet ?

thanks

david
 
davidbrowne17 said:
is there a way to limit or set the number of rows & collums in a
worksheet ?

No. All worksheets have 256 columns by 65536 rows.
You can hide unused rows/columns. But why bother?
 
Hi David,

Put this in the ThisWorkbook code module. Adjust to suit the area.

Private Sub Workbook_Open()
Worksheets(1).ScrollArea = "A1:F10"
'To restore
'Worksheets(1).ScrollArea = ""
End Sub

HTH
Regards,
Howard
 

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

Back
Top