Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello -
I have a vb 6 executable that creates an excel spreadsheet and freezes the header rows using the following code: oSheet.Range("A4").Select ActiveWindow.FreezePanes = True On one machine (under a specific user profile) the application freezes at column "F" vertically instead of horizontally for the header rows. (defaults to the middle) It seems to be tied to a particular user profile on that machine because when I login as another user on the exact same machine it works as expected. How would the boundary of the .freezepanes be getting messed up for one user profile? Any ideas on how to fix this? All of our installations are Office 2003 sp2. Thanks. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I think it depends on what was on the screen.
IIRC, I do this: 'make sure A1 is visible application.goto oSheet.range("a1"), scroll:=true osheet.range("a4").select ActiveWindow.FreezePanes = False 'Just in case it's already frozen activewindow.freezepanes = true Chris Dunnigan wrote: Hello - I have a vb 6 executable that creates an excel spreadsheet and freezes the header rows using the following code: oSheet.Range("A4").Select ActiveWindow.FreezePanes = True On one machine (under a specific user profile) the application freezes at column "F" vertically instead of horizontally for the header rows. (defaults to the middle) It seems to be tied to a particular user profile on that machine because when I login as another user on the exact same machine it works as expected. How would the boundary of the .freezepanes be getting messed up for one user profile? Any ideas on how to fix this? All of our installations are Office 2003 sp2. Thanks. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
FreezePanes on a Row without using an ActiveWindow object | Excel Programming | |||
FreezePanes from VBA? | Excel Programming | |||
.FreezePanes | Excel Programming | |||
Help with Excel FreezePanes from code | Excel Programming | |||
freezepanes | Excel Programming |