freeze pane

  • Thread starter Thread starter kevin carter
  • Start date Start date
K

kevin carter

hi

i have a workbook that contains several worksheets
Each worksheet contains a lopt of formulas which i have oved to the far
right og the worksheet.
i then froze the pane from the windows drop down menu(i dont want the
formulas viewed or tampered with)
problem is someone keeps unfreezeing the pane
is it posible to freezer the pane using VB code?

thanks


kevin
 
Kevin

Freezing panes will not prevent someone from scrolling to the right side of
your worksheet.

You may want to try setting the Scroll Area.

This setting will not remain after closing the file.
Place a code line in the Workbook open event to set it
each time when you open the workbook

Private Sub Workbook_Open()
Sheets("Sheet1").ScrollArea = "A1:M35"
End Sub

Gord Dibben Excel MVP
 

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