Is there a way I can also de-select those cells, and
> instead select my first input cell (say, "C2")?
Hi Rick,
Silly me, I didn't notice that!
Private Sub Worksheet_Activate()
Me.Range("A1:H4").Select
Application.ActiveWindow.Zoom = True
Me.Range("C2").Select
End Sub
will fix that up.
Ken Johnson
RickGreg - 25 Jun 2006 16:37 GMT
> Is there a way I can also de-select those cells, and
>> instead select my first input cell (say, "C2")?
[quoted text clipped - 12 lines]
>
> Ken Johnson
Thanks again Ken. Works like a charm. -Rick
RickGreg - 25 Jun 2006 17:09 GMT
> Is there a way I can also de-select those cells, and
>> instead select my first input cell (say, "C2")?
[quoted text clipped - 12 lines]
>
> Ken Johnson
Each answer brings up another idea/question! Your first response suggested
adding code for the Workbook so the first screen appears properly upon
opening. What if someone saves the file while on another sheet (so that
that sheet appears upon re-opening the file)? Can I add a line of code to
the This Workbook Code Module that will automatically make the intended
Worksheet open?
In other words, if I want sheet1 to appear on opening, and the user saves
such that sheet3 appears, how can I correct that?
Thanks again, I appreciate all your help.
-Rick
Ken Johnson - 25 Jun 2006 22:31 GMT
Hi Rick,
> In other words, if I want sheet1 to appear on opening, and the user saves
> such that sheet3 appears, how can I correct that?
This works OK...
Private Sub Workbook_Open()
Me.Sheets(1).Activate
Application.ActiveSheet.Range("A1:H4").Select
Application.ActiveWindow.Zoom = True
ActiveSheet.Range("C2").Select
End Sub
However, if a user is able to change the order of the sheet tabs and
saves that change then it will no longer be your intro sheet that opens
first.
So, a better way may be to use the intro sheet's name. The code below
assumes that name is "Intro" (it could still be 'Sheet1" for all I
know), so just edit the code to the correct name.
Private Sub Workbook_Open()
Me.Worksheets("Intro").Activate
Application.ActiveSheet.Range("A1:H4").Select
Application.ActiveWindow.Zoom = True
ActiveSheet.Range("C2").Select
End Sub
Also, some of the changes that users can make can be eliminated using
Workbook protection.
Ken Johnson