Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
dk dk is offline
external usenet poster
 
Posts: 129
Default determine if column is frozen with vba

is it there a way to determine if a column is frozen using vba?

tia,
dk
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default determine if column is frozen with vba

frozen? what does that mean?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"dk" wrote in message
...
is it there a way to determine if a column is frozen using vba?

tia,
dk



  #3   Report Post  
Posted to microsoft.public.excel.programming
dk dk is offline
external usenet poster
 
Posts: 129
Default determine if column is frozen with vba



"Bob Phillips" wrote:

frozen? what does that mean?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"dk" wrote in message
...
is it there a way to determine if a column is frozen using vba?

tia,
dk


frozen panes


If ActiveWindow.Panes.Count = 1 then panes are not frozen





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default determine if column is frozen with vba

And how does that relate to columns? You want if the columns are inside the
frozen area? What if part of them are?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"dk" wrote in message
...


"Bob Phillips" wrote:

frozen? what does that mean?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"dk" wrote in message
...
is it there a way to determine if a column is frozen using vba?

tia,
dk


frozen panes


If ActiveWindow.Panes.Count = 1 then panes are not frozen







  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default determine if column is frozen with vba

This should get you started :

Private Function ColumnInFrozenPane(TestColumn As Long, argWnd As Window) As
Boolean
Dim i As Long

ColumnInFrozenPane = False

With argWnd
If .FreezePanes = True And .Panes.Count 1 Then
For i = 1 To .Panes.Count
If .Panes(i).ScrollColumn 1 Then
ColumnInFrozenPane = (TestColumn < .Panes(i).ScrollColumn)
Exit Function
End If
Next
End If
End With

End Function

You can expand it to include row instead and allow for more than single
column/row.

NickHK

"dk" wrote in message
...


"Bob Phillips" wrote:

frozen? what does that mean?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"dk" wrote in message
...
is it there a way to determine if a column is frozen using vba?

tia,
dk


frozen panes


If ActiveWindow.Panes.Count = 1 then panes are not frozen







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
Determine a result of one column based on conditions in two column tel703 Excel Discussion (Misc queries) 1 March 25th 10 05:01 PM
I can't type in a column in excel it's frozen jb Excel Worksheet Functions 1 June 1st 06 09:30 AM
Determine if Value in column A exists in Column B TJKarakowski Excel Discussion (Misc queries) 3 July 19th 05 06:27 PM
Determine Column csbennett Excel Programming 3 July 11th 05 07:19 PM
Determine start column/ end column of Merged Cell jC! Excel Programming 3 July 8th 04 12:05 PM


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

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

About Us

"It's about Microsoft Excel"