Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I need to find a way to make the top of each sheet in a workbook visible
after my code runs. I tried "select" and "activate" but when you select the sheet, the visible range is different. Thanks in advance for help with this. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Application.Goto Range("A1"), True
"AD108" skrev: I need to find a way to make the top of each sheet in a workbook visible after my code runs. I tried "select" and "activate" but when you select the sheet, the visible range is different. Thanks in advance for help with this. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Couple of methods.
Add this to your macro Sub test() Dim ws As Worksheet For Each ws In ActiveWorkbook.Sheets ActiveWindow.ScrollRow = 1 'Range("A1").Select 'If you wish Next ws End Sub Or in Thisworkbook module Private Sub Workbook_SheetActivate(ByVal Sh As Object) ActiveWindow.ScrollRow = 1 End Sub Gord Dibben MS Excel MVP On Sat, 29 Jul 2006 21:09:13 -1000, "AD108" wrote: I need to find a way to make the top of each sheet in a workbook visible after my code runs. I tried "select" and "activate" but when you select the sheet, the visible range is different. Thanks in advance for help with this. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sheet activation | Excel Discussion (Misc queries) | |||
how would activate the previous sheet in macro | Excel Discussion (Misc queries) | |||
Lookup function and compare | Excel Discussion (Misc queries) | |||
how to activate a drop down menu in spreed sheet with space bar? | Excel Discussion (Misc queries) | |||
Using a relative SHEET reference for source data in a chart | Charts and Charting in Excel |