Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Freezepanes odd behavior

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Freezepanes odd behavior

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FreezePanes on a Row without using an ActiveWindow object [email protected][_2_] Excel Programming 1 January 25th 07 09:56 PM
FreezePanes from VBA? G Lykos Excel Programming 8 September 23rd 06 04:06 PM
.FreezePanes Bob McClellan Excel Programming 9 September 14th 06 02:20 PM
Help with Excel FreezePanes from code lanem Excel Programming 2 May 24th 06 07:37 PM
freezepanes Rob Excel Programming 1 January 6th 06 04:17 PM


All times are GMT +1. The time now is 11:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"