Hi Joan,
Spreadsheet is 120 columns x 5000 rows. Headings and first two columns are
set to always show. Client needs access only to the body of the spreadsheet.
So you are protecting the windows just to prevent the user from changing the
freeze panes option, right?
I see three solutions:
1. Don't protect windows, if the user decides he wants to unfreeze panes, let
him do so
2. Unprotect the workbook, set window to normal size, resize the window as big
as fits in your (and the clients!!) screen, reprotect the workbook
3. Use VBA code that maximizes the window when the book opens:
In the Thisworkbook module of your file:
Option Explicit
Private Sub Workbook_Open()
Me.Unprotect "PassWord"
ActiveWindow.WindowState = xlMaximized
Me.Protect "PassWord", True, True
End Sub
Regards,
Jan Karel Pieterse
Excel MVP
http://www.jkp-ads.com
Member of:
Professional Office Developer Association
www.proofficedev.com