Look at the scrollarea property of the worksheet. Unfortunately, this needs
to be set with code, at least with xl2000 and xl97, since it is not retained
across the closing and opening of the workbook.
Are you selecting cells. If the cell selected has now moved lower in the
sheet because of previously added data, then this might be part of the
problem. You generally do not need to select cells in your code.
One workaround
You could hide all the columns and rows outside of the area you want people to see
Unlock all the cells you want them to be able to edit
Protect the sheet
Or, you could leave sheet protection alone, hide columns and rows as mentioned above, and protect the workbook structure
Both of these options would have side effects, but they would do what you are asking without code. A determined user could likely get around them--worksheet and workbook protection do not equal document security
tj
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.